Refactor database schema: Remove access list and related entities, add editing session and edit operation entities
- Deleted `access_list_entry`, `location`, `proxy_host`, `proxy_host_access_list`, `session`, `stream_service`, `stream_service_access_list` entities and their corresponding migration files. - Introduced `editing_session` and `edit_operation` entities with appropriate fields and relationships. - Updated `mod.rs` and `prelude.rs` to reflect the changes in the entity structure. - Adjusted migration files to remove obsolete migrations and include new migrations for the editing session and edit operation tables.
This commit is contained in:
@@ -15,13 +15,7 @@ impl MigratorTrait for Migrator {
|
||||
Box::new(m20251011_000003_create_user_identity_table::Migration),
|
||||
Box::new(m20251223_000004_create_upstream_table::Migration),
|
||||
Box::new(m20251223_000005_create_upstream_target_table::Migration),
|
||||
Box::new(m20251223_000006_create_proxy_host_table::Migration),
|
||||
Box::new(m20251223_000007_create_location_table::Migration),
|
||||
Box::new(m20251223_000008_create_stream_service_table::Migration),
|
||||
Box::new(m20251223_000009_create_access_list_table::Migration),
|
||||
Box::new(m20251223_000010_create_access_list_entry_table::Migration),
|
||||
Box::new(m20251223_000011_create_proxy_host_access_list_table::Migration),
|
||||
Box::new(m20251223_000012_create_stream_service_access_list_table::Migration),
|
||||
Box::new(m20251230_000006_create_editing_session_table::Migration),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user