From 23c040930feaeda5e219e65c9e1f88488ada3fc1 Mon Sep 17 00:00:00 2001 From: Evie Viau Date: Wed, 14 Sep 2022 05:09:52 -0400 Subject: [PATCH] Rename type to cert_type --- migration/src/m20220913_213320_create_certificates.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migration/src/m20220913_213320_create_certificates.rs b/migration/src/m20220913_213320_create_certificates.rs index bb4d2f4..4ea3ac4 100644 --- a/migration/src/m20220913_213320_create_certificates.rs +++ b/migration/src/m20220913_213320_create_certificates.rs @@ -29,7 +29,7 @@ impl MigrationTrait for Migration { .binary() .not_null() ) - .col(ColumnDef::new(Certificate::Type) + .col(ColumnDef::new(Certificate::CertType) .string() .not_null() ) @@ -52,5 +52,5 @@ pub enum Certificate { Id, Data, Key, - Type + CertType }