This repository has been archived by the owner on Jul 14, 2024. It is now read-only.
generated from GabrielGuedess/NestJs-Boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
546c458
commit cff1f71
Showing
26 changed files
with
249 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...tions/20240527220440_add_nf_serie_nf_number_and_digital_signature_in_quotes/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
Warnings: | ||
- A unique constraint covering the columns `[digital_signature]` on the table `legal_client_quote` will be added. If there are existing duplicate values, this will fail. | ||
- A unique constraint covering the columns `[digital_signature]` on the table `physical_customer_quote` will be added. If there are existing duplicate values, this will fail. | ||
- Added the required column `digital_signature` to the `legal_client_quote` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `nf_number` to the `legal_client_quote` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `nf_serie` to the `legal_client_quote` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `digital_signature` to the `physical_customer_quote` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `nf_number` to the `physical_customer_quote` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `nf_serie` to the `physical_customer_quote` table without a default value. This is not possible if the table is not empty. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE "legal_client_quote" ADD COLUMN "digital_signature" TEXT NOT NULL, | ||
ADD COLUMN "nf_number" TEXT NOT NULL, | ||
ADD COLUMN "nf_serie" TEXT NOT NULL; | ||
|
||
-- AlterTable | ||
ALTER TABLE "physical_customer_quote" ADD COLUMN "digital_signature" TEXT NOT NULL, | ||
ADD COLUMN "nf_number" TEXT NOT NULL, | ||
ADD COLUMN "nf_serie" TEXT NOT NULL; | ||
|
||
-- CreateIndex | ||
CREATE UNIQUE INDEX "legal_client_quote_digital_signature_key" ON "legal_client_quote"("digital_signature"); | ||
|
||
-- CreateIndex | ||
CREATE UNIQUE INDEX "physical_customer_quote_digital_signature_key" ON "physical_customer_quote"("digital_signature"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.