question builder
This commit is contained in:
parent
4356616566
commit
3105c8da5d
28 changed files with 338 additions and 15 deletions
8
db/migrate/20140109191145_create_qanswers.rb
Normal file
8
db/migrate/20140109191145_create_qanswers.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
class CreateQanswers < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :qanswers do |t|
|
||||
t.references :question
|
||||
t.references :answer
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue