Explorar o código

fix: error on migrating tables (#1)

LoGin hai 1 ano
pai
achega
13ec2b72f6
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/db.rs

+ 2 - 1
src/db.rs

@@ -332,7 +332,8 @@ CREATE table review_prefs (
     assigned_prs INT[] NOT NULL DEFAULT array[]::INT[]
 );",
     "
-CREATE EXTENSION intarray;
+CREATE EXTENSION intarray;",
+    "
 CREATE UNIQUE INDEX review_prefs_user_id ON review_prefs(user_id);
  ",
 ];