mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
13 lines
316 B
SQL
13 lines
316 B
SQL
/*
|
|
Warnings:
|
|
|
|
- Added the required column `role` to the `users` table without a default value. This is not possible if the table is not empty.
|
|
|
|
*/
|
|
-- CreateEnum
|
|
CREATE TYPE "Role" AS ENUM ('pending', 'user', 'admin');
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "users" DROP COLUMN "role",
|
|
ADD COLUMN "role" "Role" NOT NULL;
|