Skip to content

Commit 9e9cc29

Browse files
committed
feat: add gd 2.2074
1 parent ebef5fc commit 9e9cc29

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-- Add up migration script here
2+
3+
alter type gd_version add value '2.2074';

src/types/models/mod_gd_version.rs

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ pub enum GDVersionEnum {
4141
#[serde(rename = "2.2073")]
4242
#[sqlx(rename = "2.2073")]
4343
GD22073,
44+
#[serde(rename = "2.2074")]
45+
#[sqlx(rename = "2.2074")]
46+
GD22074,
4447
}
4548

4649
impl FromStr for GDVersionEnum {
@@ -57,6 +60,7 @@ impl FromStr for GDVersionEnum {
5760
"2.2071" => Ok(GDVersionEnum::GD22071),
5861
"2.2072" => Ok(GDVersionEnum::GD22072),
5962
"2.2073" => Ok(GDVersionEnum::GD22073),
63+
"2.2074" => Ok(GDVersionEnum::GD22074),
6064
_ => Err(()),
6165
}
6266
}

0 commit comments

Comments
 (0)