Sha256: a91f10ecaf6c8bef67c185f85c0ef6c2f3724c3d9039db690fa1868bf9bd3e9f

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

class CreateQuestions < ActiveRecord::Migration
  def change
    create_table :questions do |t|
      t.text :details, :null => false
      t.boolean :active, :default => true
      t.integer :position

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
survey_says-0.0.2 db/migrate/20111208181247_create_questions.rb
survey_says-0.0.1 db/migrate/20111208181247_create_questions.rb