Sha256: 8b6af913483c96574f005186e712022169f902ac790afe98494e44465be7ae4e

Contents?: true

Size: 252 Bytes

Versions: 2

Compression:

Stored size: 252 Bytes

Contents

class CreateUsers < (ActiveRecord::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration)
  def self.up
    create_table :users do |t|
      t.timestamps null: false
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
user_preferences-1.0.2 spec/migrations/001_create_users.rb
user_preferences-1.0.1 spec/migrations/001_create_users.rb