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.
24 lines
598 B
24 lines
598 B
6 years ago
|
class CreateGtopicBanks < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
create_table :gtopic_banks do |t|
|
||
|
t.references :user
|
||
|
t.string :name
|
||
|
t.text :description
|
||
|
t.integer :quotes
|
||
|
t.boolean :is_public
|
||
|
t.integer :topic_type
|
||
|
t.integer :topic_source
|
||
|
t.integer :topic_property_first
|
||
|
t.integer :topic_property_second
|
||
|
t.string :source_unit
|
||
|
t.integer :topic_repeat
|
||
|
t.string :province
|
||
|
t.string :city
|
||
|
t.references :graduation_topic
|
||
|
t.references :course_list
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|