Updating migration commands
All checks were successful
Rust Build / Check (pull_request) Successful in 56s
Rust Build / Test Suite (pull_request) Successful in 58s
Rust Build / Rustfmt (pull_request) Successful in 26s
Rust Build / Clippy (pull_request) Successful in 45s
Rust Build / build (pull_request) Successful in 1m16s
All checks were successful
Rust Build / Check (pull_request) Successful in 56s
Rust Build / Test Suite (pull_request) Successful in 58s
Rust Build / Rustfmt (pull_request) Successful in 26s
Rust Build / Clippy (pull_request) Successful in 45s
Rust Build / build (pull_request) Successful in 1m16s
This commit is contained in:
@@ -1,3 +1,15 @@
|
|||||||
cargo install sqlx-cli
|
cargo install sqlx-cli
|
||||||
sqlx migrate add init_migration
|
sqlx migrate add init_migration
|
||||||
sqlx migrate run
|
sqlx migrate run
|
||||||
|
|
||||||
|
# Create
|
||||||
|
sqlx database create
|
||||||
|
|
||||||
|
# Drop
|
||||||
|
sqlx database drop
|
||||||
|
|
||||||
|
# setup
|
||||||
|
sqlx database setup
|
||||||
|
|
||||||
|
# Reset
|
||||||
|
sqlx database reset
|
Reference in New Issue
Block a user