d8feabb353b3c2650facea4afd08c86bb56e5549 kent Fri Apr 6 16:51:54 2012 -0700 Moving autoSql and autoDtd and autoXml back to just under hg. A little autoSql -django fix. diff --git src/hg/autoSql/doc.as src/hg/autoSql/doc.as new file mode 100644 index 0000000..5883e03 --- /dev/null +++ src/hg/autoSql/doc.as @@ -0,0 +1,17 @@ +table addressBook +"A simple address book" + ( + string name; "Name - first or last or both, we don't care" + string address; "Street address" + string city; "City" + uint zipCode; "A zip code is always positive, so can be unsigned" + char[2] state; "Just store the abbreviation for the state" + ) + +table symbolCols +"example of enum and set symbolic columns" + ( + int id; "unique id" + enum(male, female) sex; "enumerated column" + set(cProg,javaProg,pythonProg,awkProg) skills; "set column" + )