diff --git a/addons/OGLAssetService.Migration/sql/postgresql-export.sql b/addons/OGLAssetService.Migration/sql/postgresql-export.sql new file mode 100644 index 00000000..403a8233 --- /dev/null +++ b/addons/OGLAssetService.Migration/sql/postgresql-export.sql @@ -0,0 +1,6 @@ +-- FSAssets metadata export from a QUIESCED and SNAPSHOTTED database. +-- PGSQLFSAssetData currently uses the hard-coded fsassets table. +-- Use psql -A -t -F E'\\t' and redirect output to a private snapshot file. +SELECT LOWER(id::text), LOWER(hash::text) +FROM fsassets +ORDER BY id;