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