Sha256: 33455fa4bec27005515421b3544c58d00d998887af687991a0b5bad875761b14

Contents?: true

Size: 266 Bytes

Versions: 12

Compression:

Stored size: 266 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :name
      t.string :password
      t.string :favorites
      t.string :email

      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
brendan-skynet-0.9.3.1 examples/rails_mysql_example/db/migrate/002_create_users.rb
brendan-skynet-0.9.3.2 examples/rails_mysql_example/db/migrate/002_create_users.rb
brendan-skynet-0.9.3.3 examples/rails_mysql_example/db/migrate/002_create_users.rb
brendan-skynet-0.9.3.5 examples/rails_mysql_example/db/migrate/002_create_users.rb
brendan-skynet-0.9.3.6 examples/rails_mysql_example/db/migrate/002_create_users.rb
brendan-skynet-0.9.3.7 examples/rails_mysql_example/db/migrate/002_create_users.rb
brendan-skynet-0.9.3.8 examples/rails_mysql_example/db/migrate/002_create_users.rb
brendan-skynet-0.9.31 examples/rails_mysql_example/db/migrate/002_create_users.rb
brendan-skynet-0.9.32 examples/rails_mysql_example/db/migrate/002_create_users.rb
brendan-skynet-0.9.33 examples/rails_mysql_example/db/migrate/002_create_users.rb
timocratic-skynet-0.9.4 examples/rails_mysql_example/db/migrate/002_create_users.rb
skynet-0.9.3 examples/rails_mysql_example/db/migrate/002_create_users.rb