Sha256: fc6aa88fa8ad59b513cf9e1a561d539d686a6f9814d67ed79c7d4d2f875f54a0

Contents?: true

Size: 222 Bytes

Versions: 47

Compression:

Stored size: 222 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def up
    create_table :users do |t|
      t.string :email
      t.boolean :admin, default: false
      t.timestamps
    end
  end

  def down
    drop_table :users
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
object_attorney-2.10.12 db/migrate/20131205114000_create_users.rb
object_attorney-2.10.11 db/migrate/20131205114000_create_users.rb
object_attorney-2.10.10 db/migrate/20131205114000_create_users.rb
object_attorney-2.10.9 db/migrate/20131205114000_create_users.rb
object_attorney-2.10.7 db/migrate/20131205114000_create_users.rb
object_attorney-2.10.6 db/migrate/20131205114000_create_users.rb
object_attorney-2.10.5 db/migrate/20131205114000_create_users.rb
object_attorney-2.10.3 db/migrate/20131205114000_create_users.rb
object_attorney-2.10.2 db/migrate/20131205114000_create_users.rb
object_attorney-2.10.1 db/migrate/20131205114000_create_users.rb
object_attorney-2.9.4 db/migrate/20131205114000_create_users.rb
object_attorney-2.9.3 db/migrate/20131205114000_create_users.rb
object_attorney-2.9.2 db/migrate/20131205114000_create_users.rb
object_attorney-2.9.0 db/migrate/20131205114000_create_users.rb
object_attorney-2.8.1 db/migrate/20131205114000_create_users.rb
object_attorney-2.8.0 db/migrate/20131205114000_create_users.rb
object_attorney-2.6.12 db/migrate/20131205114000_create_users.rb
object_attorney-2.6.11 db/migrate/20131205114000_create_users.rb
object_attorney-2.6.10 db/migrate/20131205114000_create_users.rb
object_attorney-2.6.9 db/migrate/20131205114000_create_users.rb