From 4301383b409737f85378a1da8a4c122478248ba0 Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Sun, 12 Jun 2022 22:30:34 +0800 Subject: [PATCH] Tweaks --- .../migration/src/m20220120_000001_create_post_table.rs | 5 ----- .../migration/src/m20220120_000001_create_post_table.rs | 5 ----- .../migration/src/m20220120_000001_create_post_table.rs | 5 ----- .../migration/src/m20220101_000001_create_table.rs | 5 ----- .../migration/src/m20220120_000001_create_post_table.rs | 5 ----- .../migration/src/m20220120_000001_create_post_table.rs | 5 ----- .../migration/src/m20220120_000001_create_post_table.rs | 5 ----- .../migration/src/m20220120_000001_create_post_table.rs | 5 ----- .../template/migration/src/m20220101_000001_create_table.rs | 5 ----- .../tests/migrator/m20220118_000001_create_cake_table.rs | 5 ----- .../tests/migrator/m20220118_000002_create_fruit_table.rs | 5 ----- 11 files changed, 55 deletions(-) diff --git a/examples/actix3_example/migration/src/m20220120_000001_create_post_table.rs b/examples/actix3_example/migration/src/m20220120_000001_create_post_table.rs index 034cd9f6..e544701e 100644 --- a/examples/actix3_example/migration/src/m20220120_000001_create_post_table.rs +++ b/examples/actix3_example/migration/src/m20220120_000001_create_post_table.rs @@ -37,11 +37,6 @@ impl MigrationTrait for Migration { } } -/// `Iden` is a trait for identifiers used in any query statement. -/// -/// Commonly implemented by Enum where each Enum represents a table found in a database, -/// and its variants include table name and column name. -/// /// Learn more at https://docs.rs/sea-query#iden #[derive(Iden)] enum Post { diff --git a/examples/actix_example/migration/src/m20220120_000001_create_post_table.rs b/examples/actix_example/migration/src/m20220120_000001_create_post_table.rs index 034cd9f6..e544701e 100644 --- a/examples/actix_example/migration/src/m20220120_000001_create_post_table.rs +++ b/examples/actix_example/migration/src/m20220120_000001_create_post_table.rs @@ -37,11 +37,6 @@ impl MigrationTrait for Migration { } } -/// `Iden` is a trait for identifiers used in any query statement. -/// -/// Commonly implemented by Enum where each Enum represents a table found in a database, -/// and its variants include table name and column name. -/// /// Learn more at https://docs.rs/sea-query#iden #[derive(Iden)] enum Post { diff --git a/examples/axum_example/migration/src/m20220120_000001_create_post_table.rs b/examples/axum_example/migration/src/m20220120_000001_create_post_table.rs index 034cd9f6..e544701e 100644 --- a/examples/axum_example/migration/src/m20220120_000001_create_post_table.rs +++ b/examples/axum_example/migration/src/m20220120_000001_create_post_table.rs @@ -37,11 +37,6 @@ impl MigrationTrait for Migration { } } -/// `Iden` is a trait for identifiers used in any query statement. -/// -/// Commonly implemented by Enum where each Enum represents a table found in a database, -/// and its variants include table name and column name. -/// /// Learn more at https://docs.rs/sea-query#iden #[derive(Iden)] enum Post { diff --git a/examples/graphql_example/migration/src/m20220101_000001_create_table.rs b/examples/graphql_example/migration/src/m20220101_000001_create_table.rs index 2bb20e11..631cafbf 100644 --- a/examples/graphql_example/migration/src/m20220101_000001_create_table.rs +++ b/examples/graphql_example/migration/src/m20220101_000001_create_table.rs @@ -37,11 +37,6 @@ impl MigrationTrait for Migration { } } -/// `Iden` is a trait for identifiers used in any query statement. -/// -/// Commonly implemented by Enum where each Enum represents a table found in a database, -/// and its variants include table name and column name. -/// /// Learn more at https://docs.rs/sea-query#iden #[derive(Iden)] enum Notes { diff --git a/examples/jsonrpsee_example/migration/src/m20220120_000001_create_post_table.rs b/examples/jsonrpsee_example/migration/src/m20220120_000001_create_post_table.rs index 034cd9f6..e544701e 100644 --- a/examples/jsonrpsee_example/migration/src/m20220120_000001_create_post_table.rs +++ b/examples/jsonrpsee_example/migration/src/m20220120_000001_create_post_table.rs @@ -37,11 +37,6 @@ impl MigrationTrait for Migration { } } -/// `Iden` is a trait for identifiers used in any query statement. -/// -/// Commonly implemented by Enum where each Enum represents a table found in a database, -/// and its variants include table name and column name. -/// /// Learn more at https://docs.rs/sea-query#iden #[derive(Iden)] enum Post { diff --git a/examples/poem_example/migration/src/m20220120_000001_create_post_table.rs b/examples/poem_example/migration/src/m20220120_000001_create_post_table.rs index 034cd9f6..e544701e 100644 --- a/examples/poem_example/migration/src/m20220120_000001_create_post_table.rs +++ b/examples/poem_example/migration/src/m20220120_000001_create_post_table.rs @@ -37,11 +37,6 @@ impl MigrationTrait for Migration { } } -/// `Iden` is a trait for identifiers used in any query statement. -/// -/// Commonly implemented by Enum where each Enum represents a table found in a database, -/// and its variants include table name and column name. -/// /// Learn more at https://docs.rs/sea-query#iden #[derive(Iden)] enum Post { diff --git a/examples/rocket_example/migration/src/m20220120_000001_create_post_table.rs b/examples/rocket_example/migration/src/m20220120_000001_create_post_table.rs index 034cd9f6..e544701e 100644 --- a/examples/rocket_example/migration/src/m20220120_000001_create_post_table.rs +++ b/examples/rocket_example/migration/src/m20220120_000001_create_post_table.rs @@ -37,11 +37,6 @@ impl MigrationTrait for Migration { } } -/// `Iden` is a trait for identifiers used in any query statement. -/// -/// Commonly implemented by Enum where each Enum represents a table found in a database, -/// and its variants include table name and column name. -/// /// Learn more at https://docs.rs/sea-query#iden #[derive(Iden)] enum Post { diff --git a/examples/tonic_example/migration/src/m20220120_000001_create_post_table.rs b/examples/tonic_example/migration/src/m20220120_000001_create_post_table.rs index 034cd9f6..e544701e 100644 --- a/examples/tonic_example/migration/src/m20220120_000001_create_post_table.rs +++ b/examples/tonic_example/migration/src/m20220120_000001_create_post_table.rs @@ -37,11 +37,6 @@ impl MigrationTrait for Migration { } } -/// `Iden` is a trait for identifiers used in any query statement. -/// -/// Commonly implemented by Enum where each Enum represents a table found in a database, -/// and its variants include table name and column name. -/// /// Learn more at https://docs.rs/sea-query#iden #[derive(Iden)] enum Post { diff --git a/sea-orm-cli/template/migration/src/m20220101_000001_create_table.rs b/sea-orm-cli/template/migration/src/m20220101_000001_create_table.rs index c114f9a8..12a3bec1 100644 --- a/sea-orm-cli/template/migration/src/m20220101_000001_create_table.rs +++ b/sea-orm-cli/template/migration/src/m20220101_000001_create_table.rs @@ -43,11 +43,6 @@ impl MigrationTrait for Migration { } } -/// `Iden` is a trait for identifiers used in any query statement. -/// -/// Commonly implemented by Enum where each Enum represents a table found in a database, -/// and its variants include table name and column name. -/// /// Learn more at https://docs.rs/sea-query#iden #[derive(Iden)] enum Post { diff --git a/sea-orm-migration/tests/migrator/m20220118_000001_create_cake_table.rs b/sea-orm-migration/tests/migrator/m20220118_000001_create_cake_table.rs index 044fa264..b1b3d9cf 100644 --- a/sea-orm-migration/tests/migrator/m20220118_000001_create_cake_table.rs +++ b/sea-orm-migration/tests/migrator/m20220118_000001_create_cake_table.rs @@ -35,11 +35,6 @@ impl MigrationTrait for Migration { } } -/// `Iden` is a trait for identifiers used in any query statement. -/// -/// Commonly implemented by Enum where each Enum represents a table found in a database, -/// and its variants include table name and column name. -/// /// Learn more at https://docs.rs/sea-query#iden #[derive(Iden)] pub enum Cake { diff --git a/sea-orm-migration/tests/migrator/m20220118_000002_create_fruit_table.rs b/sea-orm-migration/tests/migrator/m20220118_000002_create_fruit_table.rs index 65a0857a..6ffd0a2c 100644 --- a/sea-orm-migration/tests/migrator/m20220118_000002_create_fruit_table.rs +++ b/sea-orm-migration/tests/migrator/m20220118_000002_create_fruit_table.rs @@ -54,11 +54,6 @@ impl MigrationTrait for Migration { } } -/// `Iden` is a trait for identifiers used in any query statement. -/// -/// Commonly implemented by Enum where each Enum represents a table found in a database, -/// and its variants include table name and column name. -/// /// Learn more at https://docs.rs/sea-query#iden #[derive(Iden)] pub enum Fruit {