@wmfs/tymly-pg-plugin
Advanced tools
Comparing version 1.225.1 to 1.225.2
@@ -84,3 +84,3 @@ 'use strict' | ||
}, | ||
orderBy: ['-modified'] | ||
orderBy: ['modified'] | ||
}) | ||
@@ -87,0 +87,0 @@ } // loadLoads |
{ | ||
"name": "@wmfs/tymly-pg-plugin", | ||
"version": "1.225.1", | ||
"version": "1.225.2", | ||
"description": "Replace Tymly's out-the-box memory storage with PostgreSQL", | ||
@@ -5,0 +5,0 @@ "author": "West Midlands Fire Service", |
{ | ||
"name": "pg", | ||
"version": "1.225.1", | ||
"version": "1.225.2", | ||
"label": "PG", | ||
@@ -5,0 +5,0 @@ "author": "Tim Needham", |
@@ -43,2 +43,6 @@ /* eslint-env mocha */ | ||
before('clear out rewind table', async () => { | ||
await client.query("delete from tymly.rewind where model_name = 'tymly_test.animal_with_age'") | ||
}) | ||
describe('Audited table', () => { | ||
@@ -48,3 +52,4 @@ function dogChanges () { | ||
where: { | ||
modelName: { equals: 'tymly_test.animal_with_age' } | ||
modelName: { equals: 'tymly_test.animal_with_age' }, | ||
keyString: { equals: 'dog' } | ||
}, | ||
@@ -51,0 +56,0 @@ orderBy: ['-modified'] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
228218
3516