1
0
mirror of https://github.com/actix/examples synced 2024-12-05 03:01:55 +01:00
examples/database_interactions/basic/db/setup_db.sh
2021-02-26 00:57:58 +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"