Commit Graph

59 Commits (4f31b7b9cc2dac060194de2c769b149a2ac861ba)

Author SHA1 Message Date
Joas Schilling 592093079f
Deduplicate index names 7 years ago
Joas Schilling 274658629d
Make sure all tables have named indexes 7 years ago
Maxence Lange 8002779200
add support for boolean default 7 years ago
Roeland Jago Douma 16cc68a2fe
Add twofactor_providers_uid index 7 years ago
Morris Jobke 17b2827bbf
Add setup check for pending bigint conversion 7 years ago
Morris Jobke f57e334f83
Fix bigint conversion on SQLite 7 years ago
Morris Jobke d3b4127164
Show columns to update in CLI interface 7 years ago
Joas Schilling bb352fb667
Use the defined func()->count() instead of manual counting 7 years ago
Morris Jobke 4d20c4272f
Fix index names 7 years ago
Roeland Jago Douma b82cbe04df
Add uid_owner and uid_initiator share tabe indices 7 years ago
Christoph Wurst c5cd8d9166
Improve class import and strict typing for generated migration class 7 years ago
Christoph Wurst eada4cccfc
Fix generated migration class code 7 years ago
Robin Appelman 91d3e48ab3
Add filecache index on mtime 8 years ago
Joas Schilling 891de38080
Only create the schema when moving between databases 8 years ago
Roeland Jago Douma 2f59f389d2
Add parent index to share table 8 years ago
Robin Appelman b40629ac8c
Add human readable description to migration steps 8 years ago
Roeland Jago Douma 80cc8d0028
Emit event when running ./occ db:add-missing-indices 8 years ago
Joas Schilling f772b7b4dd
Add autocomplete to migration commands 8 years ago
Alecks Gates 3be2c558a5 Add mtime and storage_mtime to db:convert-filecache-bigint 8 years ago
Joas Schilling 4a5282ba21
Fix the type hints of migrations and correctly inject the wrapped schema into migrations 8 years ago
Bjoern Schiessle 41ee23a054
make occ command more generic 8 years ago
Bjoern Schiessle fda98ee917
add occ command to add a index to share_with at the share table 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Joas Schilling 6acf1d9524
Also update the activity table with this 8 years ago
Joas Schilling e2ec6b33ea
Add a command to manually migrate to big ints 8 years ago
Joas Schilling d5c2b98207
Fix missing "unsigned" on integer columns 8 years ago
Joas Schilling f877096a28
Fix typo in template for migration generation 9 years ago
Joas Schilling b729cc2a02
Add *lob support for all tables 9 years ago
Joas Schilling 087138f228
use template placeholders instead of html 9 years ago
Joas Schilling e023899078
Always order by all values, to make sure all entries are copied correctly 9 years ago
Joas Schilling 1b7c1ad5c0
Only migrate to the current state 9 years ago
Joas Schilling 10d7cbb71f
Use order by to avoid problems when chunking finds a same item again... 9 years ago
Joas Schilling 0a0dbbdf15
Remove generate change script which doesnt work with migrations anymore 9 years ago
Joas Schilling 3fedfe67b9
Use default connection parameters for utf8 4byte support 9 years ago
Joas Schilling 42ed7a18cc
Skip migrations table because it was already done when creating the schema 9 years ago
Joas Schilling 1d56b52761
Use migrations on convert 9 years ago
Joas Schilling 9307aaee49
Core is converted, so this is dead code 9 years ago
Joas Schilling f6c48b1548
Add a script to generate a migration from database.xml 9 years ago
Lukas Reschke 3d2600b039
Add Phan plugin to check for SQL injections 9 years ago
Joas Schilling 0f275b1550
Only create the migration directory when necessary 9 years ago
Joas Schilling 5d9d1b1cb5 Allow to check the schema in pre and post as well 9 years ago
Joas Schilling 817783e4c7 Add a version to migrations, so parallel legacy branches can also have migrations 9 years ago
Joas Schilling df6b839b23 Add author and copyright 9 years ago
Joas Schilling 8c39e66619 Do not allow to go back on productive systems 9 years ago
Joas Schilling 194ef1a171 Adjust the code to use our interface and abstract 9 years ago
Joas Schilling 15eec7b83c Start migrations 9 years ago
Thomas Müller 43427e26d7
Add console command to migrate the charset 9 years ago
Joas Schilling 75eee315a3
Use false because null crashes the cache 9 years ago
Joas Schilling 2961c735e3
Make sure blob columns are correctly converted as parameters 9 years ago
Morris Jobke 8a4466f9ae
Improve error message of charset convert script and behaviour 9 years ago