Sha256: 988fdfd54e3aac205b3034dca66963de92a25a5a69b43a5675c1e9e73fa2236e
Contents?: true
Size: 683 Bytes
Versions: 11
Compression:
Stored size: 683 Bytes
Contents
# encoding: UTF-8 class CreateValidationConditions < ActiveRecord::Migration def self.up create_table :validation_conditions do |t| # Context t.integer :validation_id t.string :rule_key # Conditional t.string :operator # Optional external reference t.integer :question_id t.integer :answer_id # Value 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.string :regexp t.timestamps end end def self.down drop_table :validation_conditions end end
Version data entries
11 entries across 11 versions & 4 rubygems