struct DynFork::Migration::Monitor
- DynFork::Migration::Monitor
- Struct
- Value
- Object
Overview
Monitoring and update the database state for the application.
Defined in:
dynfork/migration.crConstructors
Instance Method Summary
-
#migrat : Nil
Run migration process.
Constructor Detail
Instance Method Detail
def migrat : Nil
#
Run migration process.
- Update the state of Models in the super collection.
2) Add models states to the super collection if missing.
3) Check the changes in the models and (if necessary) apply to the database.
4) Delete data for non-existent Models from a super collection and delete collections associated with those Models.