Sha256: f75a785ce427dde325880f9e7763bf1554956e415100da0c4d306c1c0d180bdc

Contents?: true

Size: 199 Bytes

Versions: 2

Compression:

Stored size: 199 Bytes

Contents

class CreateQuestionnaires < ActiveRecord::Migration
  def change
    create_table :questionnaires do |t|
      t.string :name,  :null => false
    end
    add_index :questionnaires, :name
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
survey_says-0.0.2 db/migrate/20111211175604_create_questionnaires.rb
survey_says-0.0.1 db/migrate/20111211175604_create_questionnaires.rb