mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
question builder
This commit is contained in:
parent
4356616566
commit
3105c8da5d
28 changed files with 338 additions and 15 deletions
12
db/migrate/20140109190643_create_questions.rb
Normal file
12
db/migrate/20140109190643_create_questions.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
class CreateQuestions < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :questions do |t|
|
||||
t.string :title
|
||||
t.references :question_type
|
||||
t.integer :conference_id
|
||||
t.boolean :global
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue