/mit/smsdev/db/README: $Header: /afs/athena.mit.edu/astaff/project/moiradev/src/db/RCS/README,v 1.4 90/04/25 14:54:12 mar Exp $

This directory contains stuff necessary to create and initialize an
sms database.  Note that some other directories rely on files here
(notably newdb), and that the newsms program relies on other files.

STEPS TO CREATE A DATABASE:

1. run "createdb sms" from the shell
2. run the quel commands in newdb to create the tables
3. run newmoira
4. if you want any queries to be publically executable, change their
   capacls entries from list_id 2 to 1.
5. run the quel commands in dbopt to create indices on the data.

Example:

    createdb sms
    quel sms
	    \i newdb
	    \g
	    \q
    newmoira
	    mar

	    19000
	    19000
	    600
	    mar
    quel sms
	    \i dbopt
	    \g
	    \q


THINGS TO DO:

automate generation of stub procs in newmoira.qc
