mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Implement authentication
This commit is contained in:
parent
cdcd71cf2a
commit
3e4551ea7a
23 changed files with 656 additions and 406 deletions
10
prisma/migrations/20241120032217_sessions_2/migration.sql
Normal file
10
prisma/migrations/20241120032217_sessions_2/migration.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `username` on the `Session` table. All the data in the column will be lost.
|
||||
- Added the required column `userId` to the `Session` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE `Session` DROP COLUMN `username`,
|
||||
ADD COLUMN `userId` VARCHAR(255) NOT NULL;
|
||||
Loading…
Add table
Add a link
Reference in a new issue