mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix unique key for auth
This commit is contained in:
parent
59e9739142
commit
cadefe3f1d
4 changed files with 4 additions and 8 deletions
|
|
@ -78,11 +78,7 @@ pub fn init(tx: &Transaction) -> Result<usize, Error> {
|
|||
`url` VARCHAR(1024) NOT NULL,
|
||||
|
||||
FOREIGN KEY (`profile_identity_gemini_id`) REFERENCES `profile_identity_gemini`(`id`),
|
||||
|
||||
UNIQUE (
|
||||
`profile_identity_gemini_id`,
|
||||
`url`
|
||||
)
|
||||
UNIQUE (`url`)
|
||||
)",
|
||||
[],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue