notes/vscode-notes/migrations.md
2021-08-01 12:13:43 +03:00

459 B

migrations

tables

actions_log

id action name action description action trigger

db_lock

db_name locked

Once started applications send grpc message with the following information

appVersion
databaseStructure[] 
  maps
  1. App stated and send message to migrator
  2. Migrator registered a new version in database actions_version and checks other versions
  3. Migrator checks db structure and triggers actions (actions are version based)