Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 653623682d
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (28 sloc) 1.508 kb
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<database name="bookstore-behavior" defaultIdMethod="native" package="behavior.sluggable" namespace="Propel\Tests\Bookstore\Behavior">
<table name="table13">
<column name="id" required="true" primaryKey="true" autoIncrement="true" type="INTEGER" />
<column name="title" type="VARCHAR" size="100" primaryString="true" />
<behavior name="sluggable" />
</table>
<table name="table14">
<column name="id" required="true" primaryKey="true" autoIncrement="true" type="INTEGER" />
<column name="title" type="VARCHAR" size="100" primaryString="true" />
<column name="url" type="VARCHAR" size="100"/>
<behavior name="sluggable">
<parameter name="slug_column" value="url" />
<parameter name="slug_pattern" value="/foo/{Title}/bar" />
<parameter name="replace_pattern" value="/[^\w\/]+/" />
<parameter name="separator" value="/" />
<parameter name="permanent" value="true" />
</behavior>
</table>
<table name="table_with_scope">
<column name="id" required="true" primaryKey="true" autoIncrement="true" type="INTEGER" />
<column name="scope" type="INTEGER" required="false" />
<column name="title" type="VARCHAR" size="100" primaryString="true" />
<behavior name="sluggable">
<parameter name="scope_column" value="scope" />
</behavior>
</table>
</database>
Jump to Line
Something went wrong with that request. Please try again.