diff --git a/restore-db-script.txt b/restore-db-script.txt new file mode 100644 index 0000000..5addefa --- /dev/null +++ b/restore-db-script.txt @@ -0,0 +1,3 @@ +Powershell command to restore a backup of the sockeye db locally here for development / testing + +& "C:/data/code/postgres_14/bin/pg_restore" -U postgres -c -d sockeye "C:\temp\db-20230413160012664.backup" \ No newline at end of file diff --git a/server/util/AySchema.cs b/server/util/AySchema.cs index 70ae0da..63ea858 100644 --- a/server/util/AySchema.cs +++ b/server/util/AySchema.cs @@ -1458,7 +1458,6 @@ $BODY$ LANGUAGE PLPGSQL STABLE"); await ExecQueryAsync("INSERT INTO atranslationitem(translationid,key,display) SELECT t.id, 'GlobalRavenTrialApproved', 'Raven trial approved message' FROM atranslation t where t.baselanguage = 'de'"); await ExecQueryAsync("INSERT INTO atranslationitem(translationid,key,display) SELECT t.id, 'GlobalRavenTrialRejected', 'Raven trial rejected message' FROM atranslation t where t.baselanguage = 'de'"); - currentSchema = 17; await SetSchemaLevelAsync(++currentSchema); } @@ -1594,7 +1593,6 @@ BEGIN END; $BODY$ LANGUAGE PLPGSQL STABLE"); - currentSchema = 19; await SetSchemaLevelAsync(++currentSchema); } diff --git a/todo.txt b/todo.txt index d985051..89bfbcd 100644 --- a/todo.txt +++ b/todo.txt @@ -6,8 +6,11 @@ TODO: - Need to be able to run an revenue projected report based on timeframe - need to be able to start stop and archive subscriptions and use them to make licenses from multiple selected - Subscription "group"?? (was "site" :) + - works like taskgroup and taskitems one collection open and has table in form with subitems + in other words not like workorder where items are a separate data table - Subscription object + + Subscription object (ICON "file-contract") - customer id - active - product group @@ -19,6 +22,31 @@ TODO: +-- Database: sockeye + +-- DROP DATABASE IF EXISTS sockeye; + +CREATE DATABASE sockeye + WITH + OWNER = postgres + ENCODING = 'UTF8' + LC_COLLATE = 'English_United States.1252' + LC_CTYPE = 'English_United States.1252' + TABLESPACE = pg_default + CONNECTION LIMIT = -1 + IS_TEMPLATE = False; + + + + + + + + + + + + - Subscribe to following notifications: Ops problem event should notify me immediately