Generated model Question with migration
This commit is contained in:
9
db/migrate/20140227235855_create_questions.rb
Normal file
9
db/migrate/20140227235855_create_questions.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class CreateQuestions < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :questions do |t|
|
||||
t.text :title
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user