Sha256: f98ae542f3a461a9419555dc3b7da73ce1cb9cad699072206ff28bb11c94d427
Contents?: true
Size: 480 Bytes
Versions: 5
Compression:
Stored size: 480 Bytes
Contents
class CreateSaltModules < ActiveRecord::Migration def self.up create_table :salt_modules do |t| t.string :name, :default => "", :null => false t.timestamps end create_table 'hosts_salt_modules', :id => false do |t| t.column :host_id, :integer t.column :salt_module_id, :integer end add_index :salt_modules, :name, :unique => true end def self.down drop_table :salt_modules drop_table :hosts_salt_modules end end
Version data entries
5 entries across 5 versions & 1 rubygems