Sha256: 0290c3ddd03f80f991e973253580143c1a25526df5894888e894284b6cfc5cb9
Contents?: true
Size: 542 Bytes
Versions: 4
Compression:
Stored size: 542 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
4 entries across 4 versions & 2 rubygems