Sha256: 7c026203e86b66bd70d3cd795e66bb34c3cb8114af7f68cfe7bb666d7bb4864d
Contents?: true
Size: 820 Bytes
Versions: 193
Compression:
Stored size: 820 Bytes
Contents
class CreateContentViewPuppetModules < ActiveRecord::Migration[4.2] def change create_table :katello_content_view_puppet_modules do |t| t.references :content_view t.string :name, :limit => 255 t.string :author, :limit => 255 t.string :uuid, :limit => 255 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
193 entries across 193 versions & 1 rubygems