]> WPIA git - motion.git/blobdiff - README.md
adding automatic schema migration mechanism
[motion.git] / README.md
index 5eb4ec222141ee6cf24c82ac6b8a12289d29eba0..3b33b93b8964cc5634335a6856bbf219fad2c769 100644 (file)
--- a/README.md
+++ b/README.md
@@ -13,8 +13,4 @@ To debug-run:
 LANG=C.UTF-8 FLASK_DEBUG=1 FLASK_APP=motion.py flask run
 ```
 
-To install database schema, run in an interactive python shell (`python`):
-```
-import motion
-motion.init_db()
-```
+The database schema is automatically installed when the table "schema_version" does not exist and the application is started.