Sha256: 6380916d226ccf3b55ad19db546d04ffcf076dd47a4195155b2d808dab8764b2
Contents?: true
Size: 676 Bytes
Versions: 46
Compression:
Stored size: 676 Bytes
Contents
class CreateSurveys < ActiveRecord::Migration def self.up create_table :surveys do |t| # Content t.string :title t.text :description # Reference t.string :access_code 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 # Expiry t.datetime :active_at t.datetime :inactive_at # Display t.string :css_url t.string :custom_class t.timestamps end end def self.down drop_table :surveys end end
Version data entries
46 entries across 44 versions & 3 rubygems