Sha256: a2af9c9f73bf022872b3bf6ad474d98f7c64697fb16a3d2d682388aca0656064

Contents?: true

Size: 242 Bytes

Versions: 21

Compression:

Stored size: 242 Bytes

Contents

class CreateGroups < ActiveRecord::Migration
  def change
    create_table :groups do |t|
      t.string :name
      t.integer :owner_id
      t.timestamps null: false

      t.index [:owner_id], name: 'groups_owner_lookup'
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
kadmin-0.6.8 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.6.7 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.6.6 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.6.5 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.6.4 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.6.3 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.6.1 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.5.7 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.5.6 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.4.2 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.4.1 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.4.0 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.3.1 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.3.0 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.2.8 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.2.7 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.2.6 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.2.3 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.2.2 test/dummy/db/migrate/20161006134459_create_groups.rb
kadmin-0.1.7 test/dummy/db/migrate/20161006134459_create_groups.rb