add: user pinned projects

This commit is contained in:
2021-05-27 14:23:59 +08:00
committed by viletyy
parent 422fd35f1e
commit ea79772bd2
12 changed files with 544 additions and 91 deletions

View File

@@ -0,0 +1,11 @@
class CreatePinnedProjects < ActiveRecord::Migration[5.2]
def change
create_table :pinned_projects do |t|
t.references :user
t.references :project
t.integer :position, default: 0
t.timestamps
end
end
end