<?xml version="1.0"?>
<schema version="0.3">
	<table name="btGuestBook">
		<field name="bID" type="I">
			<key />
			<unsigned />
		</field>
		<field name="requireApproval" type="i">
			<default value="0"/>
		</field>
		<field name="title" type="C" size="100">
			<default value="Comments"/>
		</field>
		<field name="displayGuestBookForm" type="i">
			<default value="1"/>
		</field>
	</table>
	<table name="btGuestBookEntries">
		<field name="bID" type="I">
		</field>
		<field name="cID" type="I">
			<default value="1"/>
		</field>	
		<field name="entryID" type="I">
			<key/>
			<autoincrement/>
		</field>
		<field name="commentText" type="X2">
		</field>
		<field name="user_name" type="C" size="100">
		</field>
		<field name="user_email" type="C" size="100">
		</field>
		<field name="entryDate" type="T">
			<deftimestamp/>
		</field>
		<field name="approved" type="i">
			<default value="1"/>
		</field>
	</table>
</schema>