Add schema patch file
This commit is contained in:
parent
a1856aaeaa
commit
e057a8d2dd
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
[print_schema]
|
[print_schema]
|
||||||
file = "server/src/schema.rs"
|
file = "server/src/schema.rs"
|
||||||
|
patch_file = "server/src/schema.patch"
|
||||||
custom_type_derives = ["diesel::query_builder::QueryId", "Clone"]
|
custom_type_derives = ["diesel::query_builder::QueryId", "Clone"]
|
||||||
|
|
||||||
[migrations_directory]
|
[migrations_directory]
|
||||||
|
19
server/src/schema.patch
Normal file
19
server/src/schema.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
diff --git a/server/src/schema.rs b/server/src/schema.rs
|
||||||
|
index cdf1f36..9fa3cc6 100644
|
||||||
|
--- a/server/src/schema.rs
|
||||||
|
+++ b/server/src/schema.rs
|
||||||
|
@@ -1,13 +1,13 @@
|
||||||
|
// @generated automatically by Diesel CLI.
|
||||||
|
|
||||||
|
diesel::table! {
|
||||||
|
messages (id) {
|
||||||
|
id -> Integer,
|
||||||
|
message -> Text,
|
||||||
|
- time -> Text,
|
||||||
|
+ time -> TimestamptzSqlite,
|
||||||
|
user_id -> Integer,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
diesel::table! {
|
||||||
|
users (id) {
|
Loading…
Reference in New Issue
Block a user