mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
CloudIDEA文件标记已读未读
This commit is contained in:
15
db/migrate/20220728022339_create_mark_files.rb
Normal file
15
db/migrate/20220728022339_create_mark_files.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
class CreateMarkFiles < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :mark_files do |t|
|
||||
t.references :pull_request
|
||||
t.integer :user_id
|
||||
t.string :file_path_sha
|
||||
t.string :file_path
|
||||
t.boolean :mark_as_read, default: false
|
||||
t.boolean :updated_after_read, default: false
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :mark_files, :file_path_sha
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user