Rewrapped lines

This commit is contained in:
Armin Ronacher 2013-11-09 13:41:09 +00:00
parent 0d648fa468
commit afd3c4532b
3 changed files with 20 additions and 12 deletions

View file

@ -15,7 +15,9 @@ Such a schema can be created by piping the `schema.sql` file into the
sqlite3 /tmp/flaskr.db < schema.sql
The downside of this is that it requires the sqlite3 command to be
installed which is not necessarily the case on every system. This also require that we provide the path to the database which can introduce errors. It's a good idea to add a function that initializes the database
installed which is not necessarily the case on every system. This also
require that we provide the path to the database which can introduce
errors. It's a good idea to add a function that initializes the database
for you to the application.
To do this we can create a function called `init_db` that initializes the