Sha256: 19e8d18d60b9766524bca7c102e0fce49fa558bca6b88747b2e12aeec2f9bade
Contents?: true
Size: 650 Bytes
Versions: 11
Compression:
Stored size: 650 Bytes
Contents
# encoding: UTF-8 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
11 entries across 11 versions & 4 rubygems