mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
13 lines
249 B
Ruby
13 lines
249 B
Ruby
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
|