Database definition & tests organisation
* The main loader script has been updated to generate the list of files it needs to load automatically. As a consequence, files that contained manually-maintained lists of scripts have been removed, and definition directories have been renamed accordingly. * PostgreSQL extension loading and configuration has been moved to a separate script to be loaded automatically in the main transaction. * Data and function definition scripts that had the -data or -functions suffix have been renamed (the suffix is unnecessary). * Unit tests have been reorganised to follow the definition's structure. * Documentation has been improved
This commit is contained in:
parent
b054a379a9
commit
e50775ec76
112 changed files with 78 additions and 144 deletions
legacyworlds-server-data/db-structure/tests
admin
030-data
075-resources
100-universe
110-empires
040-functions
025-resources
010-uoc-resource-internal.sql020-uoc-resource.sql030-uoc-natres-internal.sql040-uoc-natural-resource.sql
050-computation
053-generator-basics
055-generator-resources
010-collect-resprov-statistics.sql020-compute-rpp-delta.sql030-create-resource-provider.sql040-create-resource-providers-with-type.sql050-create-resource-providers.sql
145-resource-providers
050-updates/105-planet-resource-regeneration
user
030-data
075-resources
100-universe
110-empires
040-functions
025-resources
010-uoc-resource-internal.sql020-uoc-resource.sql030-uoc-natres-internal.sql040-uoc-natural-resource.sql
050-computation
053-generator-basics
055-generator-resources
010-collect-resprov-statistics.sql020-compute-rpp-delta.sql030-create-resource-provider.sql040-create-resource-providers-with-type.sql050-create-resource-providers.sql
145-resource-providers
050-updates/105-planet-resource-regeneration
Reference in a new issue