78 lines
3.7 KiB
Rust
78 lines
3.7 KiB
Rust
#![allow(elided_lifetimes_in_paths)]
|
|
#![allow(clippy::wildcard_imports)]
|
|
pub use sea_orm_migration::prelude::*;
|
|
mod m20220101_000001_users;
|
|
mod m20260517_000001_add_theme_to_users;
|
|
mod m20260517_000002_user_roles;
|
|
mod m20260517_000003_blog_articles;
|
|
mod m20260517_000004_audit_logs;
|
|
mod m20260517_000005_audio_albums;
|
|
mod m20260517_000006_audio_tracks;
|
|
mod m20260517_000007_audio_tags;
|
|
mod m20260517_000008_audio_track_tags;
|
|
mod m20260517_000009_simple_constraints;
|
|
mod m20260517_000010_drop_user_roles;
|
|
mod m20260517_000011_site_pages;
|
|
mod m20260517_000012_standalone_audio_tracks;
|
|
|
|
mod m20260616_123506_categories;
|
|
mod m20260616_123524_products;
|
|
mod m20260616_123550_product_images;
|
|
mod m20260616_123611_product_tags;
|
|
mod m20260616_123957_create_join_table_products_and_product_tags;
|
|
mod m20260616_130610_orders;
|
|
mod m20260616_130628_order_items;
|
|
mod m20260616_131000_drop_audio_tables;
|
|
mod m20260616_132000_drop_blog_and_pages;
|
|
mod m20260616_150755_shipping_methods;
|
|
mod m20260616_150812_add_shipping_fields_to_orders;
|
|
mod m20260616_160000_add_parent_to_categories;
|
|
mod m20260617_000001_add_carrier_to_shipping_methods;
|
|
mod m20260617_000002_add_shipment_to_orders;
|
|
mod m20260617_000003_add_phone_to_orders;
|
|
mod m20260618_000001_o_auth2_sessions;
|
|
mod m20260618_000002_customer_profiles;
|
|
mod m20260618_000003_account_type;
|
|
mod m20260618_000004_account_ownership;
|
|
pub struct Migrator;
|
|
|
|
#[async_trait::async_trait]
|
|
impl MigratorTrait for Migrator {
|
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
|
vec![
|
|
Box::new(m20220101_000001_users::Migration),
|
|
Box::new(m20260517_000001_add_theme_to_users::Migration),
|
|
Box::new(m20260517_000002_user_roles::Migration),
|
|
Box::new(m20260517_000003_blog_articles::Migration),
|
|
Box::new(m20260517_000004_audit_logs::Migration),
|
|
Box::new(m20260517_000005_audio_albums::Migration),
|
|
Box::new(m20260517_000006_audio_tracks::Migration),
|
|
Box::new(m20260517_000007_audio_tags::Migration),
|
|
Box::new(m20260517_000008_audio_track_tags::Migration),
|
|
Box::new(m20260517_000009_simple_constraints::Migration),
|
|
Box::new(m20260517_000010_drop_user_roles::Migration),
|
|
Box::new(m20260517_000011_site_pages::Migration),
|
|
Box::new(m20260517_000012_standalone_audio_tracks::Migration),
|
|
Box::new(m20260616_123506_categories::Migration),
|
|
Box::new(m20260616_123524_products::Migration),
|
|
Box::new(m20260616_123550_product_images::Migration),
|
|
Box::new(m20260616_123611_product_tags::Migration),
|
|
Box::new(m20260616_123957_create_join_table_products_and_product_tags::Migration),
|
|
Box::new(m20260616_130610_orders::Migration),
|
|
Box::new(m20260616_130628_order_items::Migration),
|
|
Box::new(m20260616_131000_drop_audio_tables::Migration),
|
|
Box::new(m20260616_132000_drop_blog_and_pages::Migration),
|
|
Box::new(m20260616_150755_shipping_methods::Migration),
|
|
Box::new(m20260616_150812_add_shipping_fields_to_orders::Migration),
|
|
Box::new(m20260616_160000_add_parent_to_categories::Migration),
|
|
Box::new(m20260617_000001_add_carrier_to_shipping_methods::Migration),
|
|
Box::new(m20260617_000002_add_shipment_to_orders::Migration),
|
|
Box::new(m20260617_000003_add_phone_to_orders::Migration),
|
|
Box::new(m20260618_000001_o_auth2_sessions::Migration),
|
|
Box::new(m20260618_000002_customer_profiles::Migration),
|
|
Box::new(m20260618_000003_account_type::Migration),
|
|
Box::new(m20260618_000004_account_ownership::Migration),
|
|
// inject-above (do not remove this comment)
|
|
]
|
|
}
|
|
} |