Generated model Question with migration

This commit is contained in:
Prelang Builder
2014-02-27 23:58:55 +00:00
committed by u7482
parent cdbba426dd
commit 9921d3b6d6
4 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
class CreateQuestions < ActiveRecord::Migration
def change
create_table :questions do |t|
t.text :title
t.timestamps
end
end
end