vivre_app/db/migrate/20130909221956_create_questions.rb

15 lines
267 B
Ruby

class CreateQuestions < ActiveRecord::Migration
def change
create_table :questions do |t|
t.string :name
t.string :email
t.string :region
t.string :country
t.text :content
t.text :answer
t.timestamps
end
end
end