Sha256: fd266bb15331f9c4bdf7c83eccc12947510366a152c5d78b7fe76c1564cb4d77
Contents?: true
Size: 372 Bytes
Versions: 5
Compression:
Stored size: 372 Bytes
Contents
class CreateTemplateKinds < ActiveRecord::Migration def self.up create_table :template_kinds do |t| t.string :name t.timestamps end TemplateKind.reset_column_information %w[PXELinux gPXE provision finish script].each do |type| TemplateKind.create(:name => type) end end def self.down drop_table :template_kinds end end
Version data entries
5 entries across 5 versions & 1 rubygems