aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/DB/schemDiffData/default-1.xml
blob: 39b95a1f27366f2874a5baa8fa006893cef674cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?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>