diff --git a/install.sh b/install.sh index d99178b..56113ef 100755 --- a/install.sh +++ b/install.sh @@ -19,7 +19,6 @@ then psql -q -U postgres -d postgres -c "GRANT ALL ON DATABASE $DBNAME TO api" psql -q -U postgres -d $DBNAME -f $DBNAME.schema.sql psql -q -U postgres -d $DBNAME -f $DBNAME.data.sql - psql -q -U api -d $DBNAME -c 'SELECT partman5.run_maintenance()' fi sem-apply --url postgresql://api@localhost/$DBNAME diff --git a/scripts/20250514-083620.sql b/scripts/20250514-083620.sql new file mode 100644 index 0000000..2660f78 --- /dev/null +++ b/scripts/20250514-083620.sql @@ -0,0 +1,2 @@ +DROP FUNCTION IF EXISTS journal.refresh_journaling; +ALTER FUNCTION journal.refresh_journaling_native RENAME TO refresh_journaling;