(toggl-portal): Remove toggl_portal_seaql_migrations from exported tables

This commit is contained in:
Joshua Coles 2023-11-29 20:49:03 +00:00
parent 19acabd3da
commit eca0a2cd44
4 changed files with 1 additions and 20 deletions

View File

@ -8,7 +8,7 @@ migrate:
sea-orm-cli migrate up sea-orm-cli migrate up
generate-entity: generate-entity:
sea-orm-cli generate entity --with-serde both -o src/entity sea-orm-cli generate entity --with-serde both -o src/entity --ignore-tables toggl_portal_seaql_migrations
release: release:
cargo build --release cargo build --release

View File

@ -5,4 +5,3 @@ pub mod prelude;
pub mod client; pub mod client;
pub mod project; pub mod project;
pub mod time_entry; pub mod time_entry;
pub mod toggl_portal_seaql_migrations;

View File

@ -3,4 +3,3 @@
pub use super::client::Entity as Client; pub use super::client::Entity as Client;
pub use super::project::Entity as Project; pub use super::project::Entity as Project;
pub use super::time_entry::Entity as TimeEntry; pub use super::time_entry::Entity as TimeEntry;
pub use super::toggl_portal_seaql_migrations::Entity as TogglPortalSeaqlMigrations;

View File

@ -1,17 +0,0 @@
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.12.2
use sea_orm::entity::prelude::*;
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq, Serialize, Deserialize)]
#[sea_orm(table_name = "toggl_portal_seaql_migrations")]
pub struct Model {
#[sea_orm(primary_key, auto_increment = false)]
pub version: String,
pub applied_at: i64,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}
impl ActiveModelBehavior for ActiveModel {}