17 lines
817 B
SQL
17 lines
817 B
SQL
/*
|
|
Warnings:
|
|
|
|
- You are about to drop the column `expense_code_id` on the `expenses_archive` table. All the data in the column will be lost.
|
|
- You are about to drop the column `shift_code_id` on the `shifts_archive` table. All the data in the column will be lost.
|
|
- Added the required column `bank_code_id` to the `expenses_archive` table without a default value. This is not possible if the table is not empty.
|
|
- Added the required column `bank_code_id` to the `shifts_archive` table without a default value. This is not possible if the table is not empty.
|
|
|
|
*/
|
|
-- AlterTable
|
|
ALTER TABLE "expenses_archive" DROP COLUMN "expense_code_id",
|
|
ADD COLUMN "bank_code_id" INTEGER NOT NULL;
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "shifts_archive" DROP COLUMN "shift_code_id",
|
|
ADD COLUMN "bank_code_id" INTEGER NOT NULL;
|