Patrick Barron
46a0a2a601
Update migrations and fix a few bugs
5 years ago
Patrick Barron
e052128c52
Cleanup and fix more bugs
5 years ago
Patrick Barron
e8173df9dc
Cleanup
5 years ago
Patrick Barron
7d9d54d2ec
Fix profile images.
5 years ago
Patrick Barron
1d1a145ad4
Fix issues and add profile image support
5 years ago
Patrick Barron
e7b297c67b
Add some missing properties
5 years ago
Patrick Barron
3eeb6576d8
Migrate User DB to EF Core
5 years ago
Patrick Barron
aca7e221d8
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
# Emby.Server.Implementations/ApplicationHost.cs
# Emby.Server.Implementations/Devices/DeviceManager.cs
# Jellyfin.Server/Jellyfin.Server.csproj
# Jellyfin.Server/Migrations/MigrationRunner.cs
# MediaBrowser.Controller/Devices/IDeviceManager.cs
5 years ago
Mark Monteiro
757643e326
Merge remote-tracking branch 'upstream/master' into no-more-doppelgangers
5 years ago
Mark Monteiro
6e68702799
Do not run DELETE command if no extras are detected
...
Also log a message if no extras were detected
Also log the path used for the database backup
Also add some comments to explain the migration
5 years ago
Vasily
43dc604e87
Fixed compilation, added backing db before removing extras
5 years ago
Patrick Barron
79dee27299
Fixed indentation
5 years ago
Vasily
034fe97eeb
Apply suggestions from code review
...
Co-authored-by: Mark Monteiro <marknr.monteiro@protonmail.com>
5 years ago
Patrick Barron
a7c2e524a9
Apply more review suggestions
5 years ago
Patrick Barron
a5dee36808
Apply more review suggestions
5 years ago
Vasily
7c57134535
Implement a cleanup migration
5 years ago
Patrick Barron
9925742918
Implement more review suggestions
5 years ago
Patrick Barron
511d20a100
Apply review suggestions
5 years ago
Patrick Barron
b7621d762c
2nd half of changes
5 years ago
Patrick Barron
c1360a1dc3
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Entities/User.cs
# Jellyfin.Data/ISavingChanges.cs
# Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj
# Jellyfin.Server.Implementations/JellyfinDb.cs
# Jellyfin.Server/Migrations/MigrationRunner.cs
# MediaBrowser.Model/Notifications/NotificationOptions.cs
# MediaBrowser.sln
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Patrick Barron
bac4bf96a0
Fix build errors
5 years ago
Patrick Barron
6379391f87
Merge branch 'master' into activitydb-efcore
5 years ago
Patrick Barron
032de931b1
Migrate activity db to EF Core
5 years ago
Mark Monteiro
1666f3ca14
Use dependency injection to construct migration routines
5 years ago
Bond_009
e9d1eabd53
Remove unused usings
5 years ago
Mark Monteiro
9e89cbbc3a
Store migration names alongside Ids in configuration in order to assist with development/debugging
5 years ago
Mark Monteiro
72bf920291
Use a Guid to uniquely identify migrations instead of a string name
...
Also use a list instead of an array to store executed migrations in the configuration class
5 years ago
Mark Monteiro
8dbb1c9257
Use logging.json instead of logging.user.json for override settings
5 years ago
Mark Monteiro
2f0b4cc24c
Clean up migration logging messages
5 years ago
Mark Monteiro
a0fdceb4bc
Throw exception on migration failure to halt application
...
Also save migration configuration after each migration instead of at the end in case an exception is thrown part way through the list
5 years ago
Joshua M. Boniface
ae9948ce04
Merge branch 'master' into logging-migration
5 years ago
Mark Monteiro
1295f6c79b
Documentation and log message cleanup
5 years ago
Mark Monteiro
7ecb16a46e
do not ignore exceptions during migration execution
5 years ago
Mark Monteiro
4c2b543b30
Rename IUpdater to IMigrationRoutine
5 years ago
Mark Monteiro
1a9908d094
Add migration to create "logging.user.json"
5 years ago
Vasily
5a0f1fe848
Implement review suggestion
5 years ago
Vasily
098d3538e3
Disable logging.json migration as it is not ready yet
5 years ago
Vasily
d4564d8e29
More logging, mark all migrations as applied if setup wizard is not complete
5 years ago
Vasily
216e425cc5
Fix comment
5 years ago
Vasily
55b429e5e8
Moved migration routines to their own directory
5 years ago
Vasily
ccafebca68
Extract "migrations" config name to a proper constant
5 years ago
Vasily
ecaa7f8014
Improve migration logic
5 years ago
Vasily
66e11879ef
Shuffle migrations in a more manageable structure
5 years ago