mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-09 06:24:04 +08:00
init project
This commit is contained in:
13
db/migrate/20191220085352_create_compose_projects.rb
Normal file
13
db/migrate/20191220085352_create_compose_projects.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class CreateComposeProjects < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
# create_table :compose_projects do |t|
|
||||
# t.integer :user_id
|
||||
# t.integer :project_id
|
||||
# t.integer :compose_id
|
||||
# t.integer :position , default: 0
|
||||
#
|
||||
# t.timestamps
|
||||
# end
|
||||
# add_index :compose_projects, [:user_id, :project_id, :compose_id]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user