Sha256: dc4ea01ee5062a505bdc08a660502706312240ef8bf7128a53017662793d2017
Contents?: true
Size: 638 Bytes
Versions: 57
Compression:
Stored size: 638 Bytes
Contents
class CreateDependencyConditions < ActiveRecord::Migration def self.up create_table :dependency_conditions do |t| # Context t.integer :dependency_id t.string :rule_key # Conditional t.integer :question_id # the conditional question t.string :operator # Value t.integer :answer_id t.datetime :datetime_value t.integer :integer_value t.float :float_value t.string :unit t.text :text_value t.string :string_value t.string :response_other t.timestamps end end def self.down drop_table :dependency_conditions end end
Version data entries
57 entries across 55 versions & 4 rubygems