Sha256: 10ae1f2b2fb9fa7ec0e664e5243918ea14b610d07197540a6ee8147b420cddb8

Contents?: true

Size: 209 Bytes

Versions: 23

Compression:

Stored size: 209 Bytes

Contents

class CreateUsers < ActiveRecord::Migration[5.0]
  def self.up
    create_table :users do |t|
      t.string :name
      t.timestamps null: false
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
merit-3.0.2 test/dummy/db/migrate/20110421191249_create_users.rb
merit-3.0.1 test/dummy/db/migrate/20110421191249_create_users.rb
merit-3.0.0 test/dummy/db/migrate/20110421191249_create_users.rb