Jan Böhmer
d314f15509
Ensure the initial API key is long enough
2025-09-23 20:32:58 +02:00
Ryan Malloy
c498803859
Add INITIAL_ADMIN_API_KEY environment variable support
...
- Add configuration parameter for initial admin API key
- Implement getInitialAdminApiToken() method in AbstractMultiPlatformMigration
- Create migration to automatically generate admin API token on initial setup
- Add CLAUDE.md to .gitignore for local development documentation
2025-09-07 08:38:22 -06:00
Jan Böhmer
7d9be5ae76
Fixed wrong casing of SQLitePlatform
2024-06-09 23:36:00 +02:00
Jan Böhmer
02acafc348
Added postgres to the AbstractMultiPlatformMigration class
2024-06-06 23:11:11 +02:00
Jan Böhmer
42e604245c
Fixed some inspection issues
2024-03-03 19:57:31 +01:00
Jan Böhmer
4bed50d894
Allow database migration from legacy versions even if the perms_label column is missing in the groups table
...
This fixes issue #366 and #67
2023-09-09 23:04:50 +02:00
Jan Böhmer
6a2ff9d153
Added declare strict types to all files
2023-06-11 18:59:07 +02:00
Jan Böhmer
7ee01d9a05
Applied rector with PHP8.1 migration rules
2023-06-11 14:17:19 +02:00
Jan Böhmer
d04d743520
Fixed typos
2023-04-15 23:14:53 +02:00
Jan Böhmer
29d1d49aca
Fixed some more inspection issues
2023-04-15 22:05:29 +02:00
Jan Böhmer
7f9307feec
Perform an explicit type conversion in doesFKExists function
2023-04-08 23:32:38 +02:00
Jan Böhmer
036eaf3bae
Removed warnings about changed permissions, as the old changes are reset later, and we now do the permission migration in Part-DB directly
2023-04-08 23:29:23 +02:00
Jan Böhmer
2717d7d311
Only drop the foreign keys during migration from legacy Part-DB DBs if they really exist
...
This should fix issue #260
2023-04-08 23:27:10 +02:00
Jan Böhmer
b1d359f538
Added internal part number field to parts
2022-12-04 02:28:47 +01:00
Jan Böhmer
498cc07583
Added copyright/license info to files
2022-11-29 21:21:26 +01:00
Jan Böhmer
51e05a8669
Use typed properties
2022-09-18 22:59:31 +02:00
Jan Böhmer
c079cc914e
Use platforms to decide which migrations to use, instead of drivers
...
Dev environment uses an delegated dev driver, which is not possible to compare. Should fix current phpunit test error.
2022-07-17 23:45:17 +02:00
Jan Böhmer
9888d4538d
Use non deprecated method to get database driver type.
2022-03-04 18:59:19 +01:00
Jan Böhmer
d3b1108d45
Use non deprecated method to get database driver type.
2022-03-04 18:51:58 +01:00
Jan Böhmer
4a90f2ac35
Fix migrations with DBAL 3
2022-03-04 13:03:12 +01:00
Jan Böhmer
d0b1024d80
Fixed code style.
2020-08-21 21:36:22 +02:00
Jan Böhmer
96acf0d858
Updated to doctrine migrations 3.0.
2020-07-04 23:38:18 +02:00