23 lines
1.4 KiB
MySQL
23 lines
1.4 KiB
MySQL
|
/*
|
||
|
Warnings:
|
||
|
|
||
|
- Made the column `description` on table `resource` required. This step will fail if there are existing NULL values in that column.
|
||
|
- Made the column `type` on table `resource` required. This step will fail if there are existing NULL values in that column.
|
||
|
- Made the column `meta` on table `resource` required. This step will fail if there are existing NULL values in that column.
|
||
|
- Made the column `created_at` on table `resource` required. This step will fail if there are existing NULL values in that column.
|
||
|
- Made the column `updated_at` on table `resource` required. This step will fail if there are existing NULL values in that column.
|
||
|
- Made the column `created_by` on table `resource` required. This step will fail if there are existing NULL values in that column.
|
||
|
- Made the column `updated_by` on table `resource` required. This step will fail if there are existing NULL values in that column.
|
||
|
- Made the column `deleted_at` on table `resource` required. This step will fail if there are existing NULL values in that column.
|
||
|
|
||
|
*/
|
||
|
-- AlterTable
|
||
|
ALTER TABLE "resource" ALTER COLUMN "description" SET NOT NULL,
|
||
|
ALTER COLUMN "type" SET NOT NULL,
|
||
|
ALTER COLUMN "meta" SET NOT NULL,
|
||
|
ALTER COLUMN "created_at" SET NOT NULL,
|
||
|
ALTER COLUMN "updated_at" SET NOT NULL,
|
||
|
ALTER COLUMN "created_by" SET NOT NULL,
|
||
|
ALTER COLUMN "updated_by" SET NOT NULL,
|
||
|
ALTER COLUMN "deleted_at" SET NOT NULL;
|