Ver Fonte

Ajuste na nomenclatura

Ranghetti há 1 mês atrás
pai
commit
7dce1bb5fe
1 ficheiros alterados com 4 adições e 4 exclusões
  1. 4 4
      migrations/20260328_add_cpr_monitoring_table.sql

+ 4 - 4
migrations/20260328_add_cpr_monitoring_table.sql

@@ -1,11 +1,11 @@
 BEGIN;
 
 CREATE TABLE IF NOT EXISTS "cpr_monitoring" (
-  "id" SERIAL PRIMARY KEY,
+  "cpr_monitoring_id" SERIAL PRIMARY KEY,
   "cpr_id" INTEGER NOT NULL,
-  "preview" BOOLEAN NOT NULL DEFAULT FALSE,
-  "description" TEXT NOT NULL,
-  "link" TEXT NOT NULL
+  "cpr_monitoring_preview" BOOLEAN NOT NULL DEFAULT FALSE,
+  "cpr_monitoring_description" TEXT NOT NULL,
+  "cpr_monitoring_link" TEXT NOT NULL
 );
 
 DO $$