mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
update users table with unique tag
This commit is contained in:
@@ -29,7 +29,8 @@ CREATE TABLE `users` (
|
||||
`github_name` TEXT DEFAULT '',
|
||||
`wx_open_id` TEXT DEFAULT '',
|
||||
`created_at` TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
`updated_at` TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
UNIQUE(`username`, `github_name`, `wx_open_id`)
|
||||
);
|
||||
|
||||
INSERT INTO `users`
|
||||
|
Reference in New Issue
Block a user