mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
ADD project detail api
This commit is contained in:
12
db/migrate/20201004070431_create_project_details.rb
Normal file
12
db/migrate/20201004070431_create_project_details.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class CreateProjectDetails < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :project_details do |t|
|
||||
t.integer :project_id
|
||||
t.longtext :content
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :project_details, :project_id
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user