feat(migration): migration of comment/description change
This commit is contained in:
parent
6e1f5ce9a2
commit
4a6eed1185
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `description` on the `expenses` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `description` on the `expenses_archive` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `description` on the `shifts` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `description` on the `shifts_archive` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "public"."expenses" DROP COLUMN "description",
|
||||
ADD COLUMN "comment" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "public"."expenses_archive" DROP COLUMN "description",
|
||||
ADD COLUMN "comment" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "public"."shifts" DROP COLUMN "description",
|
||||
ADD COLUMN "comment" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "public"."shifts_archive" DROP COLUMN "description",
|
||||
ADD COLUMN "comment" TEXT;
|
||||
Loading…
Reference in New Issue
Block a user