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