<?xml version="1.0" encoding="utf-8" ?>
<database>

	<table>

		<!--
		Table for storing transactional file locking
		-->
		<name>*dbprefix*file_locks</name>

		<declaration>

			<field>
				<name>id</name>
				<type>integer</type>
				<default>0</default>
				<notnull>true</notnull>
				<unsigned>true</unsigned>
				<length>4</length>
				<autoincrement>1</autoincrement>
			</field>

			<field>
				<name>lock</name>
				<type>integer</type>
				<default>0</default>
				<notnull>true</notnull>
				<length>4</length>
			</field>

			<field>
				<name>key</name>
				<type>text</type>
				<notnull>true</notnull>
				<default>(stupid text)</default>
				<length>64</length>
			</field>

			<field>
				<name>ttl</name>
				<type>integer</type>
				<default>-1</default>
				<notnull>true</notnull>
				<length>4</length>
			</field>

		</declaration>

	</table>

</database>
