1
0
mirror of https://github.com/actix/examples synced 2024-12-01 01:24:35 +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"