ADD project detail api

This commit is contained in:
Jasder
2020-10-04 17:32:37 +08:00
parent 4ff8c4dc1a
commit 0faa750450
7 changed files with 135 additions and 0 deletions

View 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