mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 08:57:54 +00:00
Move migrations directories to sort first, needs PATCHED diesel-cli
This commit is contained in:
1 parent
c0833bb69a
commit
85f27e603f
38 files changed
+20
-3
No files matched your search
@@ -27,8 +27,18 @@ Diesel is an ORM, which is dumb, so we use sqlx as at-compile-time typesafe SQL.
|
||||
|
||||
```
|
||||
sudo apt-get install libmysqlclient-dev
|
||||
cargo install sqlx-cli --no-default-features --features mysql
|
||||
cargo install diesel_cli --no-default-features --features mysql
|
||||
cargo install sqlx-cli --no-default-features --features mysql [2022-01-16: is this needed?]
|
||||
```
|
||||
|
||||
To install a more modern version of Diesel (unreleased) that
|
||||
supports the "migrations_dir" toml config option:
|
||||
|
||||
```
|
||||
cargo install diesel_cli \
|
||||
--git https://github.com/diesel-rs/diesel.git \
|
||||
--rev a213fe232a122f35a812b0ce0269708a1845a4c9 \
|
||||
--no-default-features \
|
||||
--features mysql
|
||||
```
|
||||
|
||||
#### Linux database notes
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -115,7 +115,6 @@ struct ObsGatewayWebSocket {
|
||||
twitch_thread: Arc<ObsTwitchThread>,
|
||||
}
|
||||
|
||||
|
||||
impl ObsGatewayWebSocket {
|
||||
fn new(
|
||||
twitch_user_id: u32,
|
||||
|
||||
@@ -3,3 +3,11 @@
|
||||
|
||||
[print_schema]
|
||||
file = "_ignored_schema.rs"
|
||||
|
||||
# I want to sort this directory first for easier reference
|
||||
# Not released yet, but added here:
|
||||
# https://github.com/diesel-rs/diesel/pull/2179
|
||||
# You'll need to install the a non-released diesel CLI
|
||||
# (See storyteller READMEs/docs on how to install)
|
||||
[migrations_directory]
|
||||
dir = "_migrations"
|
||||
Reference in new issue
Block a user