mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
新增:项目数据集模型
This commit is contained in:
11
db/migrate/20240401030707_create_project_datasets.rb
Normal file
11
db/migrate/20240401030707_create_project_datasets.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreateProjectDatasets < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :project_datasets do |t|
|
||||
t.string :title
|
||||
t.text :description
|
||||
t.references :project
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user