Sha256: 5068cab3d6f84a23bfe8df0b7106d4047ade0daf023642a188d7f459b5789219
Contents?: true
Size: 641 Bytes
Versions: 46
Compression:
Stored size: 641 Bytes
Contents
class CreateQuestionGroups < ActiveRecord::Migration def self.up create_table :question_groups do |t| # Content t.text :text t.text :help_text # Reference t.string :reference_identifier # from paper t.string :data_export_identifier # data export t.string :common_namespace # maping to a common vocab t.string :common_identifier # maping to a common vocab # Display t.string :display_type t.string :custom_class t.string :custom_renderer t.timestamps end end def self.down drop_table :question_groups end end
Version data entries
46 entries across 44 versions & 3 rubygems