Sha256: b4363416e75994936eedbc238d6581ca4a6b0e37ae9c4d0d218b5a2aa3a009ea
Contents?: true
Size: 1.19 KB
Versions: 195
Compression:
Stored size: 1.19 KB
Contents
class CreatePackageGroups < ActiveRecord::Migration[4.2] def change create_table "katello_package_groups" do |t| t.string "name", :limit => 255 t.string "uuid", :null => false, :limit => 255 t.string "description", :limit => 255 t.timestamps end add_index :katello_package_groups, :uuid, :unique => true create_table "katello_repository_package_groups" do |t| t.references :package_group, :null => false t.references :repository, :null => true t.timestamps end add_index "katello_repository_package_groups", [:package_group_id, :repository_id], :unique => true, :name => "index_katello_repository_package_groups_on_pgid_repoid" add_foreign_key "katello_repository_package_groups", "katello_package_groups", :name => "katello_repository_package_groups_package_groups_id_fk", :column => "package_group_id" add_foreign_key "katello_repository_package_groups", "katello_repositories", :name => "katello_repository_package_groups_repo_id_fk", :column => "repository_id" end def down drop_table "katello_package_groups" drop_table "katello_repository_package_groups" end end
Version data entries
195 entries across 195 versions & 1 rubygems