mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Create RC database layer
This commit is contained in:
1 parent
69c6c54650
commit
77ddeb7891
55 files changed
+2689
-395
No files matched your search
@@ -0,0 +1,22 @@
|
||||
use sea_orm_migration::{MigratorTrait, MigrationTrait, prelude::async_trait};
|
||||
|
||||
mod m20250424_000001_create_user_table;
|
||||
mod m20250424_000002_create_user_permissions_table;
|
||||
mod m20250424_000003_create_garage_table;
|
||||
mod m20250424_000004_create_user_aux_table;
|
||||
mod m20250424_000005_create_campaign_tables;
|
||||
|
||||
pub struct Migrator;
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl MigratorTrait for Migrator {
|
||||
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
||||
vec![
|
||||
Box::new(m20250424_000001_create_user_table::Migration),
|
||||
Box::new(m20250424_000002_create_user_permissions_table::Migration),
|
||||
Box::new(m20250424_000003_create_garage_table::Migration),
|
||||
Box::new(m20250424_000004_create_user_aux_table::Migration),
|
||||
Box::new(m20250424_000005_create_campaign_tables::Migration),
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user