Sha256: 858143ca132460010d6ad2e832ca059854a4e516f0255690649deecd2e3ab434
Contents?: true
Size: 538 Bytes
Versions: 11
Compression:
Stored size: 538 Bytes
Contents
# encoding: UTF-8 class CreateDependencies < ActiveRecord::Migration def self.up create_table :dependencies do |t| # Context t.integer :question_id # the dependent question t.integer :question_group_id # Conditional t.string :rule # Result - TODO: figure out the dependency hook presentation options # t.string :property_to_toggle # visibility, class_name, # t.string :effect #blind, opacity t.timestamps end end def self.down drop_table :dependencies end end
Version data entries
11 entries across 11 versions & 4 rubygems