Sha256: 8bd5fc977032131a6804ccd64302336c3ddc2a0495dfe591c56c5d2e5ba06703

Contents?: true

Size: 183 Bytes

Versions: 3

Compression:

Stored size: 183 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.column :name, :string
    end
  end
  
  def self.down
    drop_table :users
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
polymorphic_identity-0.0.1 test/app_root/db/migrate/004_create_users.rb
polymorphic_identity-0.0.2 test/app_root/db/migrate/004_create_users.rb
polymorphic_identity-0.0.3 test/app_root/db/migrate/004_create_users.rb