You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
398 B
17 lines
398 B
5 years ago
|
class CreateItemBanks < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
create_table :item_banks do |t|
|
||
|
t.text :name
|
||
|
t.references :curriculum, index: true
|
||
|
t.references :curriculum_direction, index: true
|
||
|
t.integer :item_type
|
||
|
t.integer :difficulty
|
||
|
t.references :user, index: true
|
||
|
t.boolean :public
|
||
|
t.integer :quotes
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|