Sha256: b0fb2d63b990656c69ecc2de0c92829307097dab773b55d699b49c2071a82467

Contents?: true

Size: 303 Bytes

Versions: 2

Compression:

Stored size: 303 Bytes

Contents

class CreateAccounts < ActiveRecord::Migration
  def change
    create_table :restpack_accounts do |t|
      t.integer :created_by,      :null => false
      t.integer :application_id,  :null => false
      t.string  :name,            :null => false, :limit => 256

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
restpack_account_service-0.0.4 db/migrate/20130919115210_create_accounts.rb
restpack_account_service-0.0.3 db/migrate/20130919115210_create_accounts.rb