Sha256: cce992bb030ac5b9167708050561f5984686a3bb7d8076fadae36cae4c69bdb8
Contents?: true
Size: 770 Bytes
Versions: 10
Compression:
Stored size: 770 Bytes
Contents
class CreateContentViewPuppetModules < ActiveRecord::Migration def change create_table :katello_content_view_puppet_modules do |t| t.references :content_view t.string :name t.string :author t.string :uuid t.timestamps end add_index :katello_content_view_puppet_modules, :content_view_id add_index :katello_content_view_puppet_modules, [:name, :content_view_id], :unique => true, :name => :katello_cv_puppet_modules_name add_index :katello_content_view_puppet_modules, [:name, :author, :content_view_id], :unique => true, :name => :katello_cv_puppet_modules_name_author add_index :katello_content_view_puppet_modules, [:uuid, :content_view_id], :unique => true, :name => :katello_cv_puppet_modules_uuid end end
Version data entries
10 entries across 10 versions & 1 rubygems