Sha256: db06a6090bb4dac6a71372e84f8a7a7609097d31757b3a6baa6b803a6b9b7819

Contents?: true

Size: 275 Bytes

Versions: 3

Compression:

Stored size: 275 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :first_name
      t.string :last_name
      t.integer :age
      t.string :gender
      t.boolean :active
      t.integer :account_id

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reporta-modules-0.0.3 spec/dummy/db/migrate/20130622041213_create_users.rb
reporta-modules-0.0.2 spec/dummy/db/migrate/20130622041213_create_users.rb
reporta-modules-0.0.1 spec/dummy/db/migrate/20130622041213_create_users.rb