|
| 1 | +/* |
| 2 | + Warnings: |
| 3 | +
|
| 4 | + - You are about to drop the column `createAt` on the `ConfirmedQuote` table. All the data in the column will be lost. |
| 5 | + - You are about to drop the column `updateAt` on the `ConfirmedQuote` table. All the data in the column will be lost. |
| 6 | + - You are about to drop the column `createAt` on the `Customer` table. All the data in the column will be lost. |
| 7 | + - You are about to drop the column `updateAt` on the `Customer` table. All the data in the column will be lost. |
| 8 | + - You are about to drop the column `createAt` on the `Mover` table. All the data in the column will be lost. |
| 9 | + - You are about to drop the column `updateAt` on the `Mover` table. All the data in the column will be lost. |
| 10 | + - You are about to drop the column `createAt` on the `MovingRequest` table. All the data in the column will be lost. |
| 11 | + - You are about to drop the column `updateAt` on the `MovingRequest` table. All the data in the column will be lost. |
| 12 | + - You are about to drop the column `createAt` on the `ProfileImage` table. All the data in the column will be lost. |
| 13 | + - You are about to drop the column `updateAt` on the `ProfileImage` table. All the data in the column will be lost. |
| 14 | + - You are about to drop the column `createAt` on the `Quote` table. All the data in the column will be lost. |
| 15 | + - You are about to drop the column `updateAt` on the `Quote` table. All the data in the column will be lost. |
| 16 | + - You are about to drop the column `createAt` on the `Region` table. All the data in the column will be lost. |
| 17 | + - You are about to drop the column `updateAt` on the `Region` table. All the data in the column will be lost. |
| 18 | + - You are about to drop the column `createAt` on the `Review` table. All the data in the column will be lost. |
| 19 | + - You are about to drop the column `updateAt` on the `Review` table. All the data in the column will be lost. |
| 20 | + - You are about to drop the column `createAt` on the `ReviewComment` table. All the data in the column will be lost. |
| 21 | + - You are about to drop the column `updateAt` on the `ReviewComment` table. All the data in the column will be lost. |
| 22 | + - You are about to drop the column `createAt` on the `Service` table. All the data in the column will be lost. |
| 23 | + - You are about to drop the column `updateAt` on the `Service` table. All the data in the column will be lost. |
| 24 | + - You are about to drop the column `createAt` on the `User` table. All the data in the column will be lost. |
| 25 | + - You are about to drop the column `updateAt` on the `User` table. All the data in the column will be lost. |
| 26 | + - You are about to drop the column `createAt` on the `notification` table. All the data in the column will be lost. |
| 27 | + - You are about to drop the column `updateAt` on the `notification` table. All the data in the column will be lost. |
| 28 | + - Added the required column `updatedAt` to the `ConfirmedQuote` table without a default value. This is not possible if the table is not empty. |
| 29 | + - Added the required column `updatedAt` to the `Customer` table without a default value. This is not possible if the table is not empty. |
| 30 | + - Added the required column `updatedAt` to the `Mover` table without a default value. This is not possible if the table is not empty. |
| 31 | + - Added the required column `updatedAt` to the `MovingRequest` table without a default value. This is not possible if the table is not empty. |
| 32 | + - Added the required column `updatedAt` to the `ProfileImage` table without a default value. This is not possible if the table is not empty. |
| 33 | + - Added the required column `updatedAt` to the `Quote` table without a default value. This is not possible if the table is not empty. |
| 34 | + - Added the required column `updatedAt` to the `Region` table without a default value. This is not possible if the table is not empty. |
| 35 | + - Added the required column `updatedAt` to the `Review` table without a default value. This is not possible if the table is not empty. |
| 36 | + - Added the required column `updatedAt` to the `ReviewComment` table without a default value. This is not possible if the table is not empty. |
| 37 | + - Added the required column `updatedAt` to the `Service` table without a default value. This is not possible if the table is not empty. |
| 38 | + - Added the required column `updatedAt` to the `User` table without a default value. This is not possible if the table is not empty. |
| 39 | + - Added the required column `updatedAt` to the `notification` table without a default value. This is not possible if the table is not empty. |
| 40 | +
|
| 41 | +*/ |
| 42 | +-- AlterTable |
| 43 | +ALTER TABLE "ConfirmedQuote" DROP COLUMN "createAt", |
| 44 | +DROP COLUMN "updateAt", |
| 45 | +ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 46 | +ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; |
| 47 | + |
| 48 | +-- AlterTable |
| 49 | +ALTER TABLE "Customer" DROP COLUMN "createAt", |
| 50 | +DROP COLUMN "updateAt", |
| 51 | +ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 52 | +ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; |
| 53 | + |
| 54 | +-- AlterTable |
| 55 | +ALTER TABLE "Mover" DROP COLUMN "createAt", |
| 56 | +DROP COLUMN "updateAt", |
| 57 | +ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 58 | +ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; |
| 59 | + |
| 60 | +-- AlterTable |
| 61 | +ALTER TABLE "MovingRequest" DROP COLUMN "createAt", |
| 62 | +DROP COLUMN "updateAt", |
| 63 | +ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 64 | +ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; |
| 65 | + |
| 66 | +-- AlterTable |
| 67 | +ALTER TABLE "ProfileImage" DROP COLUMN "createAt", |
| 68 | +DROP COLUMN "updateAt", |
| 69 | +ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 70 | +ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; |
| 71 | + |
| 72 | +-- AlterTable |
| 73 | +ALTER TABLE "Quote" DROP COLUMN "createAt", |
| 74 | +DROP COLUMN "updateAt", |
| 75 | +ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 76 | +ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; |
| 77 | + |
| 78 | +-- AlterTable |
| 79 | +ALTER TABLE "Region" DROP COLUMN "createAt", |
| 80 | +DROP COLUMN "updateAt", |
| 81 | +ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 82 | +ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; |
| 83 | + |
| 84 | +-- AlterTable |
| 85 | +ALTER TABLE "Review" DROP COLUMN "createAt", |
| 86 | +DROP COLUMN "updateAt", |
| 87 | +ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 88 | +ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; |
| 89 | + |
| 90 | +-- AlterTable |
| 91 | +ALTER TABLE "ReviewComment" DROP COLUMN "createAt", |
| 92 | +DROP COLUMN "updateAt", |
| 93 | +ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 94 | +ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; |
| 95 | + |
| 96 | +-- AlterTable |
| 97 | +ALTER TABLE "Service" DROP COLUMN "createAt", |
| 98 | +DROP COLUMN "updateAt", |
| 99 | +ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 100 | +ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; |
| 101 | + |
| 102 | +-- AlterTable |
| 103 | +ALTER TABLE "User" DROP COLUMN "createAt", |
| 104 | +DROP COLUMN "updateAt", |
| 105 | +ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 106 | +ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; |
| 107 | + |
| 108 | +-- AlterTable |
| 109 | +ALTER TABLE "notification" DROP COLUMN "createAt", |
| 110 | +DROP COLUMN "updateAt", |
| 111 | +ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 112 | +ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; |
0 commit comments