case 4504

This commit is contained in:
2023-04-13 23:50:52 +00:00
parent be4e0e2ad3
commit b6858145d5
3 changed files with 32 additions and 3 deletions

3
restore-db-script.txt Normal file
View File

@@ -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"

View File

@@ -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);
}

View File

@@ -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