From a7f331db1fb5d9138c8909fb843989c3e4d45b42 Mon Sep 17 00:00:00 2001 From: TheNotary Date: Fri, 21 Oct 2016 14:42:59 -0500 Subject: notes a place to see where a database table is defined --- demo/prose | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demo') diff --git a/demo/prose b/demo/prose index 7c45a267..e3d6185a 100644 --- a/demo/prose +++ b/demo/prose @@ -37,7 +37,7 @@ The following files are created during the compile process:
Migrate the Database

-When we compiled the demo in the above step, a demo.sql file was created for us which contains all the information required to create a database congruent with the demo web app. The below command will provision our sqlite database. Also of interest is the file demo.urp which contains a database line with the PostgreSQL database that the demo web server will try to connect to if database information isn't provided as command line arguments when the webapp is compiled. +When we compiled the demo in the above step, a demo.sql file was created for us which contains all the information required to create a database congruent with the demo web app. The below command will provision our sqlite database. To see an example of where a database table is defined in source code, check out demo/crud1.ur. Also of interest is the file demo.urp which contains a database line with the PostgreSQL database that the demo web server will try to connect to if database information isn't provided as command line arguments when the webapp is compiled.

$ sqlite3 /path/to/database/file <demo/demo.sql
 
-- cgit v1.2.3