Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sakila SQLite examples #62

Merged
merged 3 commits into from
Sep 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ jobs:
- name: Remove generated folder
run: rm -rf ./examples/sqlite/src
- name: Copy sample database
run: cp ./examples/sqlite/chinook.db .
run: cp ./examples/sqlite/sakila.db .
- uses: actions-rs/cargo@v1
with:
command: run
args: >
--package seaography-cli --
sqlite://chinook.db seaography-sqlite-example ./examples/sqlite
sqlite://sakila.db seaography-sqlite-example ./examples/sqlite
- name: Integration tests
working-directory: ./examples/sqlite
run: cargo test
Expand Down
2 changes: 1 addition & 1 deletion discoverer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ categories = ["database"]

[dependencies]
async-std = { version = "1.12.0", features = [ "attributes", "tokio1" ] }
sea-schema = { version = "^0.9.3", default-features = false, features = ["sqlx-sqlite", "sqlx-mysql", "sqlx-postgres", "runtime-async-std-native-tls", "discovery", "writer" ] }
sea-schema = { version = "^0.9.4", default-features = false, features = ["sqlx-sqlite", "sqlx-mysql", "sqlx-postgres", "runtime-async-std-native-tls", "discovery", "writer" ] }
sqlx = { version = "^0.6.1", features = [ "sqlite", "mysql", "postgres", "runtime-async-std-native-tls", "all-types" ] }
itertools = "0.10.3"
heck = "0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/sqlite/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
DATABASE_URL="sqlite://chinook.db"
DATABASE_URL="sqlite://sakila.db"
# COMPLEXITY_LIMIT=
# DEPTH_LIMIT=
Binary file removed examples/sqlite/chinook.db
Binary file not shown.
Binary file added examples/sqlite/sakila
Binary file not shown.
Loading