1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00
examples/databases/sqlite/db/setup_db.sh
2022-02-18 02:01:48 +00:00

5 lines
147 B
Bash
Executable File

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