Merge branch 'develop' into standalone_develop

This commit is contained in:
2023-04-07 17:22:44 +08:00
16 changed files with 151 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
class CreateProjectTopics < ActiveRecord::Migration[5.2]
def change
create_table :project_topics do |t|
t.references :user
t.string :name
t.integer :position, default: 0
t.integer :projects_count, default: 0
t.timestamps
end
create_table :project_topic_ralates do |t|
t.belongs_to :project_topic, index: true
t.belongs_to :project, index: true
t.timestamps
end
end
end