Ver Fonte

Add api key to homes

Lee Morgan há 2 meses atrás
pai
commit
ef9ae9c164
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      sql/homes.sql

+ 1 - 0
sql/homes.sql

@@ -1,5 +1,6 @@
 CREATE TABLE IF NOT EXISTS homes (
     id UUID PRIMARY KEY,
+    api_key UUID NOT NULL UNIQUE,
     name TEXT NOT NULL,
     created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
 )