mirror of
https://github.com/actix/examples
synced 2024-11-28 00:12:57 +01:00
Merge pull request #127 from senden9/patch-1
Fix bug in database script
This commit is contained in:
commit
eff911db89
@ -1,3 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
sqlite3 weather.db < db.sql
|
cd $(dirname "$0")
|
||||||
sqlite3 -csv weather.db ".import nyc_centralpark_weather.csv nyc_weather"
|
sqlite3 ../weather.db < db.sql
|
||||||
|
sqlite3 -csv ../weather.db ".import nyc_centralpark_weather.csv nyc_weather"
|
||||||
|
Loading…
Reference in New Issue
Block a user