18 lines
440 B
SQL
18 lines
440 B
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the `users` table. If the table is not empty, all the data it contains will be lost.
|
|
|
|
*/
|
|
-- DropForeignKey
|
|
ALTER TABLE "recent_dashboards" DROP CONSTRAINT "recent_dashboards_user_id_fkey";
|
|
|
|
-- DropForeignKey
|
|
ALTER TABLE "users" DROP CONSTRAINT "users_organization_id_fkey";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "recent_dashboards" ALTER COLUMN "user_id" SET DATA TYPE TEXT;
|
|
|
|
-- DropTable
|
|
DROP TABLE "users";
|