Parcourir la source

Add api key to homes

Lee Morgan il y a 2 mois
Parent
commit
ef9ae9c164
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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()
 )