mirror of
https://github.com/System-End/campfire.git
synced 2026-04-19 16:28:22 +00:00
32 lines
952 B
SQL
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";
|