Rename type to cert_type

This commit is contained in:
Evie Viau-Chow-Stuart 2022-09-14 05:09:52 -04:00
parent f0a3d75911
commit 23c040930f
Signed by: evie
GPG key ID: 928652CDFCEC8099

View file

@ -29,7 +29,7 @@ impl MigrationTrait for Migration {
.binary() .binary()
.not_null() .not_null()
) )
.col(ColumnDef::new(Certificate::Type) .col(ColumnDef::new(Certificate::CertType)
.string() .string()
.not_null() .not_null()
) )
@ -52,5 +52,5 @@ pub enum Certificate {
Id, Id,
Data, Data,
Key, Key,
Type CertType
} }