Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (24 sloc) 1.15 KB
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<database name="bookstore-behavior" defaultIdMethod="native" package="behavior.auto_add_pk" namespace="Propel\Tests\Bookstore\Behavior">
<table name="table6">
<column name="title" type="VARCHAR" size="100" primaryString="true" />
<behavior name="auto_add_pk" />
</table>
<table name="table7">
<column name="foo" required="true" primaryKey="true" autoIncrement="true" type="INTEGER" />
<column name="title" type="VARCHAR" size="100" primaryString="true" />
<behavior name="auto_add_pk" />
</table>
<table name="table8">
<column name="title" type="VARCHAR" size="100" primaryString="true" />
<column name="foo_id" type="INTEGER" required="false"/>
<foreign-key foreignTable="table6" onDelete="setnull">
<reference local="foo_id" foreign="id" />
</foreign-key>
<behavior name="auto_add_pk">
<parameter name="name" value="identifier" />
<parameter name="autoIncrement" value="false" />
<parameter name="type" value="BIGINT" />
</behavior>
</table>
</database>
Something went wrong with that request. Please try again.