summaryrefslogtreecommitdiff
path: root/demo/prose
diff options
context:
space:
mode:
authorGravatar TheNotary <no@email.plz>2016-10-21 14:42:59 -0500
committerGravatar TheNotary <no@email.plz>2016-10-21 14:42:59 -0500
commita7f331db1fb5d9138c8909fb843989c3e4d45b42 (patch)
tree4806890c2addf6f9a0be3085dfecc6a49b541f4b /demo/prose
parent850563d90f0f66b9563e0e0c9a24eac6bf78df7e (diff)
notes a place to see where a database table is defined
Diffstat (limited to 'demo/prose')
-rw-r--r--demo/prose2
1 files changed, 1 insertions, 1 deletions
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:
<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 &lt;demo/demo.sql
</blockquote></pre>