Start working on the database creation. throw the endpoint with the unique generatedId.

This commit is contained in:
charles-gauthereau
2024-11-27 19:44:16 +01:00
parent 7adaa44c98
commit 319662e39c
5 changed files with 127 additions and 37 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "databases" ADD COLUMN "last_contact" TIMESTAMP(3);
@@ -0,0 +1,8 @@
/*
Warnings:
- Added the required column `generatedId` to the `databases` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "databases" ADD COLUMN "generatedId" TEXT NOT NULL;