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`;
|
||||
|
|
@ -184,7 +184,7 @@ model albums {
|
|||
placeholder String? @db.Text
|
||||
headerColor String? @default("#ffffff") @db.VarChar(255)
|
||||
Album_Animation Album_Animation[]
|
||||
Album_Artist Album_Artist[]
|
||||
artistList Album_Artist[]
|
||||
Album_Category Album_Category[]
|
||||
Album_Classification Album_Classification[]
|
||||
Album_Game Album_Game[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue