campfire/background/prisma/migrations/20260113233212/migration.sql
2026-01-13 18:54:47 -05:00

32 lines
952 B
SQL

/*
Warnings:
- You are about to drop the `account` table. If the table is not empty, all the data it contains will be lost.
- You are about to drop the `session` table. If the table is not empty, all the data it contains will be lost.
- You are about to drop the `user` table. If the table is not empty, all the data it contains will be lost.
- You are about to drop the `verification` table. If the table is not empty, all the data it contains will be lost.
*/
-- DropForeignKey
ALTER TABLE "account" DROP CONSTRAINT "account_userId_fkey";
-- DropForeignKey
ALTER TABLE "session" DROP CONSTRAINT "session_userId_fkey";
-- DropForeignKey
ALTER TABLE "user" DROP CONSTRAINT "user_satelliteId_fkey";
-- AlterTable
ALTER TABLE "Satellite" ADD COLUMN "active" BOOLEAN NOT NULL DEFAULT true;
-- DropTable
DROP TABLE "account";
-- DropTable
DROP TABLE "session";
-- DropTable
DROP TABLE "user";
-- DropTable
DROP TABLE "verification";