Sha256: 2c3dfb9d78b8e920eac672001db3e05f15b42433bf3312e1cab864b70c2e20ed
Contents?: true
Size: 648 Bytes
Versions: 11
Compression:
Stored size: 648 Bytes
Contents
# encoding: UTF-8 class CreateSurveySections < ActiveRecord::Migration def self.up create_table :survey_sections do |t| # Context t.integer :survey_id # Content t.string :title t.text :description # 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.integer :display_order t.string :custom_class t.timestamps end end def self.down drop_table :survey_sections end end
Version data entries
11 entries across 11 versions & 4 rubygems