Make migrations optional and change the table name to not conflict with other applications
Build and Publish Docker Container / build (push) Successful in 7m33s
Build and Publish Docker Container / build (push) Successful in 7m33s
This commit is contained in:
@@ -6,6 +6,10 @@ pub struct Migrator;
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl MigratorTrait for Migrator {
|
||||
fn migration_table_name() -> sea_orm::DynIden {
|
||||
Alias::new("monzo_ingestion_seaql_migrations").into_iden()
|
||||
}
|
||||
|
||||
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
||||
vec![Box::new(m20230904_141851_create_monzo_tables::Migration)]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user