Feature/favorite project (#25)

* feat: add project favorite api

* feat:update frontend resources
This commit is contained in:
vran
2022-02-24 19:37:41 +08:00
committed by GitHub
parent 496534843a
commit decd76dd42
57 changed files with 869 additions and 25 deletions

View File

@@ -0,0 +1,9 @@
CREATE TABLE IF NOT EXISTS user_favorite_project
(
id INT PRIMARY KEY NOT NULL AUTO_INCREMENT,
user_id INT NOT NULL,
project_id INT NOT NULL,
create_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE uk_user_id_project_id (user_id, project_id)
) CHARSET utf8mb4
COLLATE utf8mb4_unicode_ci;