1
0
mirror of https://github.com/actix/examples synced 2025-06-28 09:50:36 +02:00

Merge pull request #127 from senden9/patch-1

Fix bug in database script
This commit is contained in:
Nikolay Kim
2019-05-25 02:14:24 -07:00
committed by GitHub

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash
sqlite3 weather.db < db.sql
sqlite3 -csv weather.db ".import nyc_centralpark_weather.csv nyc_weather"
cd $(dirname "$0")
sqlite3 ../weather.db < db.sql
sqlite3 -csv ../weather.db ".import nyc_centralpark_weather.csv nyc_weather"