diff options
author | TheNotary <no@email.plz> | 2016-10-21 14:42:59 -0500 |
---|---|---|
committer | TheNotary <no@email.plz> | 2016-10-21 14:42:59 -0500 |
commit | a7f331db1fb5d9138c8909fb843989c3e4d45b42 (patch) | |
tree | 4806890c2addf6f9a0be3085dfecc6a49b541f4b /demo/prose | |
parent | 850563d90f0f66b9563e0e0c9a24eac6bf78df7e (diff) |
notes a place to see where a database table is defined
Diffstat (limited to 'demo/prose')
-rw-r--r-- | demo/prose | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ The following files are created during the compile process: <h6>Migrate the Database</h6> <p> -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 <tt>demo.urp</tt> which contains a <tt>database</tt> 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 <tt>demo/crud1.ur</tt>. Also of interest is the file <tt>demo.urp</tt> which contains a <tt>database</tt> 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. <blockquote><pre>$ sqlite3 /path/to/database/file <demo/demo.sql </blockquote></pre> |