summaryrefslogtreecommitdiffstats
path: root/tests/lib/DB/ts-autoincrement-after.xml
blob: d4445f1e24719b6b9fb145d68b861f855e5537e9 (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
<?xml version="1.0" encoding="utf-8" ?>
<database>

	<name>*dbname*</name>
	<create>true</create>
	<overwrite>false</overwrite>

	<charset>utf8</charset>

	<table>

		<name>*dbprefix*table</name>

		<declaration>
			<field>
				<name>auto_id</name>
				<type>integer</type>
				<default>0</default>
				<notnull>true</notnull>
				<autoincrement>1</autoincrement>
				<length>4</length>
			</field>
			<field>
				<name>textfield</name>
				<type>text</type>
				<default>foo</default>
				<notnull>true</notnull>
				<length>32</length>
			</field>
		</declaration>
	</table>
</database>