Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Contains the application responsible for migrating the data from the original database into the new database

License

Notifications You must be signed in to change notification settings

Sheldan/OnePlusBot-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OnePlusBot migration application

Contains the application responsible for migrating the data from the original database into the new database

The legacy database was managed and created in OnePlusBot and was a mysql database with only a single server in mind. The database structure in the new version is a PostgreSQL database, with multiple servers in mind and a generally overhauled database structure. Therefore the database structure needs to be migrated in order to maintain the history.

The migrations are done incrementally, as the features are ported and each of them ave individual jobs controlled by command line parameters. The application uses a lot of services from the new version in order to create the objects appropriately, leading to a lot of dependencies pulled in (scheduling etc), which are not necessary, but as the application is a one off migration for each feature, this is not a big issue. In its essence, this application is a standalone Spring Boot application which executes the migration when starting up.

Supported migrations:

  • Starboard
  • Reminders
  • Profanities
  • Tracked emotes
  • Experience
  • Mutes
  • User notes
  • FAQ

This repository is archived as all the information was migrated.

About

Contains the application responsible for migrating the data from the original database into the new database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages