Sha256: 76625402d870055b2f6c5d719ba4dd52974a92220c4ae4bda6ef0705f04605a3
Contents?: true
Size: 545 Bytes
Versions: 33
Compression:
Stored size: 545 Bytes
Contents
class AddColumnsToScaptimonyPolicies < ActiveRecord::Migration def change add_column :scaptimony_policies, :xccdf_profile, :string add_column :scaptimony_policies, :period, :string add_column :scaptimony_policies, :weekday, :string add_column :scaptimony_policies, :description, :string # This works only with rails-4, I want to support rails-3 too # add_reference :scaptimony_policies, :scap_content, index: true add_column :scaptimony_policies, :scap_content_id, :integer, :references => :scap_content end end
Version data entries
33 entries across 33 versions & 1 rubygems