Sha256: ed5207744cce86a0eaf283c11cb5249848eafd3600648613b9934ef4ca3e1ecc
Contents?: true
Size: 422 Bytes
Versions: 9
Compression:
Stored size: 422 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 # Expiry t.datetime :active_at t.datetime :inactive_at # Styling t.string :css_url t.timestamps end end def self.down drop_table :surveys end end
Version data entries
9 entries across 9 versions & 2 rubygems