Commit Graph

17 Commits

Author SHA1 Message Date
silverqx f8f7d955a9 added table comment for file_property_properties
Comment is:

used in Builder::chunk() tests, must have exactly 8 rows
2022-07-26 18:03:46 +02:00
silverqx 8b9c9591d9 added is_banned boolean column to users table 2022-07-24 20:06:23 +02:00
silverqx 5cbea87321 added elapsed timer to php create/seed db script
[skip ci]
2022-06-23 11:02:18 +02:00
silverqx 9413daf99f workflows added tom SQLite migrations
- also removed php migrations from all workflows 🙌🥳
2022-06-21 08:35:55 +02:00
silverqx 2410a8b2cb code formatting 2022-06-20 17:40:34 +02:00
silverqx 2cb8bb9b4b use tom migrations in unit tests for PostgreSQL 💪
- added fixPostgresSequences() to our tom seeder
 - added PostgreSQL connection to tom_testdata
 - updated msvc workflow
 - tom, throw if empty connection only if exactly one connection
   provided
 - also updated create_and_seed_database.php script to exclude postgres
   connection using --skip-postgres-migrate command-line parameter
2022-05-23 16:11:30 +02:00
silverqx 488037b33a used our seeder in workflows 🎉💪 2022-05-18 09:40:45 +02:00
silverqx 158f833293 updated error message 2022-05-18 09:01:23 +02:00
silverqx 28067cc10f whitespace 2022-05-17 17:15:05 +02:00
silverqx 5524407a23 whitespaces 2022-05-17 17:10:31 +02:00
silverqx 285f654278 bugfix in skip-mysql-migrate condition 2022-05-12 13:01:11 +02:00
silverqx 3b05cd1bed used own tom migrations in unit tests 🎉 2022-05-12 12:25:22 +02:00
silverqx b816c932dc removed unused code 2022-05-12 10:20:02 +02:00
silverqx 09592a7732 added GitHub Actions Linux, MSYS2 UCRT64, MSVC
- initial g++/clang build, ctest on MSYS2 UCRT64 on Windows Server 2022
 - initial cmake build/ctest on Ubuntu 20.40
 - initial cmake build/ctest on MSVC on Windows Server 2019

changed driver to QPSQL in tst_databasemanager

This avoids crash when QMYSQL driver's dll is unavailable.
QMYSQL driver is not shipped by default by Qt Windows MSVC installer.
2021-12-08 12:27:25 +01:00
silverqx a71ba16800 fixed phpstorm warnings 2021-11-24 14:47:26 +01:00
silverqx b19b88228f enhanced db seeder
When env. variables for some connection was not defined then do not
create/seed database for this connection.

 - connection to the database eagerly, before seeding starts
2021-11-24 14:39:28 +01:00
silverqx 0a433d3b4f moved testdata seeder to the tests/ folder 2021-09-04 16:36:19 +02:00