29 lines
1.8 KiB
MySQL
29 lines
1.8 KiB
MySQL
|
|
/*
|
||
|
|
Warnings:
|
||
|
|
|
||
|
|
- You are about to drop the column `latitude` on the `CustomerBranch` table. All the data in the column will be lost.
|
||
|
|
- You are about to drop the column `longitude` on the `CustomerBranch` table. All the data in the column will be lost.
|
||
|
|
- Added the required column `bussinessType` to the `CustomerBranch` table without a default value. This is not possible if the table is not empty.
|
||
|
|
- Added the required column `employmentOffice` to the `CustomerBranch` table without a default value. This is not possible if the table is not empty.
|
||
|
|
- Added the required column `jobDescription` to the `CustomerBranch` table without a default value. This is not possible if the table is not empty.
|
||
|
|
- Added the required column `jobPosition` to the `CustomerBranch` table without a default value. This is not possible if the table is not empty.
|
||
|
|
- Added the required column `payDate` to the `CustomerBranch` table without a default value. This is not possible if the table is not empty.
|
||
|
|
- Added the required column `saleEmployee` to the `CustomerBranch` table without a default value. This is not possible if the table is not empty.
|
||
|
|
- Added the required column `wageDate` to the `CustomerBranch` table without a default value. This is not possible if the table is not empty.
|
||
|
|
|
||
|
|
*/
|
||
|
|
-- AlterTable
|
||
|
|
ALTER TABLE "Customer" ADD COLUMN "taxNo" TEXT;
|
||
|
|
|
||
|
|
-- AlterTable
|
||
|
|
ALTER TABLE "CustomerBranch" DROP COLUMN "latitude",
|
||
|
|
DROP COLUMN "longitude",
|
||
|
|
ADD COLUMN "bussinessType" TEXT NOT NULL,
|
||
|
|
ADD COLUMN "employmentOffice" TEXT NOT NULL,
|
||
|
|
ADD COLUMN "jobDescription" TEXT NOT NULL,
|
||
|
|
ADD COLUMN "jobPosition" TEXT NOT NULL,
|
||
|
|
ADD COLUMN "payDate" TEXT NOT NULL,
|
||
|
|
ADD COLUMN "saleEmployee" TEXT NOT NULL,
|
||
|
|
ADD COLUMN "wageDate" TEXT NOT NULL,
|
||
|
|
ALTER COLUMN "taxNo" DROP NOT NULL;
|