schema.patch
1 diff --git a/crates/distrox-persistence-diesel/src/schema.rs b/crates/distrox-persistence-diesel/src/schema.rs 2 index efccf46..8400a37 100644 3 --- a/crates/distrox-persistence-diesel/src/schema.rs 4 +++ b/crates/distrox-persistence-diesel/src/schema.rs 5 @@ -5,10 +5,10 @@ diesel::table! { 6 id -> Integer, 7 content_id -> Binary, 8 version -> Integer, 9 - timestamp -> Timestamp, 10 + timestamp -> TimestamptzSqlite, 11 mimetype -> Nullable<Text>, 12 payload_id -> Nullable<Binary>, 13 - created_at -> Timestamp, 14 + created_at -> TimestamptzSqlite, 15 } 16 } 17 18 @@ -16,7 +16,7 @@ diesel::table! { 19 id -> Integer, 20 public_key -> Binary, 21 node_id -> Binary, 22 - timestamp -> Timestamp, 23 + timestamp -> TimestamptzSqlite, 24 } 25 } 26 27 @@ -34,7 +34,7 @@ diesel::table! { 28 node_id -> Binary, 29 version -> Integer, 30 content_id -> Nullable<Binary>, 31 - created_at -> Timestamp, 32 + created_at -> TimestamptzSqlite, 33 } 34 } 35 36 @@ -43,7 +43,7 @@ diesel::table! { 37 id -> Integer, 38 payload_id -> Binary, 39 payload -> Binary, 40 - created_at -> Timestamp, 41 + created_at -> TimestamptzSqlite, 42 } 43 } 44