Sha256: 33e83ca9fb517c47c6e783ebf7842f772d42e8c1eb6ee78cc8de1087f4d9c2db

Contents?: true

Size: 284 Bytes

Versions: 90

Compression:

Stored size: 284 Bytes

Contents

class CreateEgovUtilsGroupsUsers < ActiveRecord::Migration[5.1]
  def change
    create_table :egov_utils_groups_users do |t|
      t.references :group, foreign_key: {to_table: :egov_utils_groups}
      t.references :user, foreign_key: {to_table: :egov_utils_users}
    end
  end
end

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
egov_utils-0.2.9 db/migrate/20180126131416_create_egov_utils_groups_users.rb
egov_utils-0.2.8 db/migrate/20180126131416_create_egov_utils_groups_users.rb
egov_utils-0.2.7 db/migrate/20180126131416_create_egov_utils_groups_users.rb
egov_utils-0.2.6 db/migrate/20180126131416_create_egov_utils_groups_users.rb
egov_utils-0.2.5 db/migrate/20180126131416_create_egov_utils_groups_users.rb
egov_utils-0.2.4 db/migrate/20180126131416_create_egov_utils_groups_users.rb
egov_utils-0.2.3 db/migrate/20180126131416_create_egov_utils_groups_users.rb
egov_utils-0.2.2 db/migrate/20180126131416_create_egov_utils_groups_users.rb
egov_utils-0.2.1 db/migrate/20180126131416_create_egov_utils_groups_users.rb
egov_utils-0.2.0 db/migrate/20180126131416_create_egov_utils_groups_users.rb