(toggl-portal): Remove toggl_portal_seaql_migrations from exported tables
This commit is contained in:
parent
19acabd3da
commit
eca0a2cd44
2
justfile
2
justfile
@ -8,7 +8,7 @@ migrate:
|
||||
sea-orm-cli migrate up
|
||||
|
||||
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:
|
||||
cargo build --release
|
||||
|
||||
@ -5,4 +5,3 @@ pub mod prelude;
|
||||
pub mod client;
|
||||
pub mod project;
|
||||
pub mod time_entry;
|
||||
pub mod toggl_portal_seaql_migrations;
|
||||
|
||||
@ -3,4 +3,3 @@
|
||||
pub use super::client::Entity as Client;
|
||||
pub use super::project::Entity as Project;
|
||||
pub use super::time_entry::Entity as TimeEntry;
|
||||
pub use super::toggl_portal_seaql_migrations::Entity as TogglPortalSeaqlMigrations;
|
||||
|
||||
@ -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 {}
|
||||
Loading…
Reference in New Issue
Block a user