soc_site-astro/prisma/migrations/20241120032217_sessions_2/migration.sql

10 lines
375 B
SQL

/*
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;