-
-
Notifications
You must be signed in to change notification settings - Fork 3
DBをSQLiteに移行 #1212
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
Merged
Merged
DBをSQLiteに移行 #1212
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
c702eaa
DBをインメモリSQLiteに移行
TinyKitten a1f893e
Merge branch 'dev' into feature/migrate-to-sqlite
TinyKitten 53eee67
docker/api/Dockerfile.prodはもうない
TinyKitten e8583da
消していた条件を復活
TinyKitten 1361b09
DockefileのDATABASE_URL修正
TinyKitten d1b5fb0
クソ多きバグを修正
TinyKitten c3bb9c2
perftune
TinyKitten 0752629
名前検索デグレ修正
TinyKitten ef19db5
座標検索のSQL修正
TinyKitten 7bf182d
test_normalize_for_searchのテスト追加
TinyKitten a3a1edd
ReaderBuilderの生成は1回で十分
TinyKitten 307daf4
unwrap()粛清
TinyKitten 01073c4
テストケース追加
TinyKitten 650be46
正規化処理の拡充
TinyKitten d94780e
&cache=sharedはもういらない
TinyKitten 82bd3e9
マイグレコードの改良
TinyKitten 1bc1d3b
部分的にR-Treeを使う
TinyKitten e8a585c
近隣の駅も出す必要があるのでフィルタを広げる
TinyKitten 17bb4c0
clippy fix
TinyKitten 709b22e
pragmaを1回にまとめた
TinyKitten e096cdd
ためしに#[tokio::main(flavor = "current_thread")]
TinyKitten 9f0ae39
import_csv 脆弱性対処
TinyKitten a8036f5
import_csv 脆弱性対処
TinyKitten 5352330
リファクタ
TinyKitten 22f8d62
clippy fix
TinyKitten File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,4 +4,6 @@ Dockerfile | |
| .git | ||
| .gitignore | ||
| .env | ||
| .env.local | ||
| .env.local | ||
| libsqlitefunctions.so | ||
| db.db* | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,3 @@ | ||
| ## API | ||
| DATABASE_URL=mysql://root:password@localhost:3306/stationapi | ||
| DISABLE_GRPC_WEB=false | ||
|
|
||
| ## Migration | ||
| MYSQL_USER= | ||
| MYSQL_PASSWORD= | ||
| MYSQL_HOST= | ||
| MYSQL_DATABASE= | ||
| SQL_OUT_PATH=./out.sql | ||
| DATABASE_URL=sqlite://db.db | ||
| DISABLE_GRPC_WEB=false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| /target | ||
| .env.local | ||
| tmp.sql | ||
| server.crt | ||
| server.key | ||
| api_descriptor.pb | ||
| out.sql | ||
| .vscode/ | ||
| tmp.sql | ||
| .vscode/ | ||
| db.db* |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.