Sha256: a7b4cb45807edab6b0f23c281a630f33236fa7224f4364d9178438ed849b6aeb
Contents?: true
Size: 654 Bytes
Versions: 46
Compression:
Stored size: 654 Bytes
Contents
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
46 entries across 44 versions & 3 rubygems