Skip to content

Commit

Permalink
Showing 4 changed files with 0 additions and 70 deletions.
13 changes: 0 additions & 13 deletions tests/common/features/insert_default.rs

This file was deleted.

2 changes: 0 additions & 2 deletions tests/common/features/mod.rs
Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@ pub mod active_enum;
pub mod active_enum_child;
pub mod applog;
pub mod byte_primary_key;
pub mod insert_default;
pub mod metadata;
pub mod repository;
pub mod satellite;
@@ -14,7 +13,6 @@ pub use active_enum::Entity as ActiveEnum;
pub use active_enum_child::Entity as ActiveEnumChild;
pub use applog::Entity as Applog;
pub use byte_primary_key::Entity as BytePrimaryKey;
pub use insert_default::Entity as InsertDefault;
pub use metadata::Entity as Metadata;
pub use repository::Entity as Repository;
pub use satellite::Entity as Satellite;
16 changes: 0 additions & 16 deletions tests/common/features/schema.rs
Original file line number Diff line number Diff line change
@@ -37,7 +37,6 @@ pub async fn create_tables(db: &DatabaseConnection) -> Result<(), DbErr> {

create_active_enum_table(db).await?;
create_active_enum_child_table(db).await?;
create_insert_default_table(db).await?;

Ok(())
}
@@ -235,18 +234,3 @@ pub async fn create_satellites_table(db: &DbConn) -> Result<ExecResult, DbErr> {

create_table(db, &stmt, Satellite).await
}

pub async fn create_insert_default_table(db: &DbConn) -> Result<ExecResult, DbErr> {
let create_table_stmt = sea_query::Table::create()
.table(insert_default::Entity.table_ref())
.col(
ColumnDef::new(insert_default::Column::Id)
.integer()
.not_null()
.auto_increment()
.primary_key(),
)
.to_owned();

create_table(db, &create_table_stmt, InsertDefault).await
}
39 changes: 0 additions & 39 deletions tests/insert_default_tests.rs

This file was deleted.

0 comments on commit b8a7ae7

Please sign in to comment.