mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Fix migration
This commit is contained in:
parent
8a7f1e8c8a
commit
a02da83781
2 changed files with 2 additions and 2 deletions
|
|
@ -21,4 +21,4 @@ CREATE TABLE `account` (
|
|||
ALTER TABLE `account` ADD CONSTRAINT `account_userId_fkey` FOREIGN KEY (`userId`) REFERENCES `users`(`username`) ON DELETE RESTRICT ON UPDATE CASCADE;
|
||||
|
||||
INSERT INTO `account` (id,userId,accountId, providerId,createdAt, updatedAt)
|
||||
SELECT username,username,username,"username",createdAt,updatedAt FROM `users`;
|
||||
SELECT username,username,username,"credential",createdAt,updatedAt FROM `users`;
|
||||
Loading…
Add table
Add a link
Reference in a new issue