Initial code

This commit is contained in:
Aslan 2025-12-22 21:58:15 -05:00
parent f4a1afe71b
commit c6d3e066c9
21 changed files with 2446 additions and 0 deletions

View file

@ -0,0 +1,17 @@
/*
Warnings:
- You are about to drop the column `name` on the `User` table. All the data in the column will be lost.
- A unique constraint covering the columns `[username]` on the table `User` will be added. If there are existing duplicate values, this will fail.
- Added the required column `username` to the `User` table without a default value. This is not possible if the table is not empty.
*/
-- DropIndex
DROP INDEX "User_name_key";
-- AlterTable
ALTER TABLE "User" DROP COLUMN "name",
ADD COLUMN "username" TEXT NOT NULL;
-- CreateIndex
CREATE UNIQUE INDEX "User_username_key" ON "User"("username");