Lines Matching full:migration
84 /// Performs a single migration step.
86 /// Both action_id and old_database are little hacks to support the migration
90 /// \param file Database on which to apply the migration step.
93 /// \param action_id If not none, replace ACTION_ID in the migration file with
95 /// \param old_database If not none, replace OLD_DATABASE in the migration
98 /// \throw error If there is a problem applying the migration.
114 const fs::path migration = store::detail::migration_file(version_from, in migrate_schema_step() local
119 migration_string = utils::read_file(migration); in migrate_schema_step()
121 throw store::error(F("Cannot read migration file '%s'") % migration); in migrate_schema_step()
134 throw store::error(F("Schema migration failed: %s") % e.what()); in migrate_schema_step()
217 /// Calculates the path to a schema migration file.
231 /// Backs up a database for schema migration purposes.
258 /// The algorithm implemented here performs a migration step for every
265 /// \throw error If there is a problem with the migration.
272 throw error(F("Database already at schema version %s; migration not " in migrate_schema()