<?xml version="1.0" encoding="UTF-8"?>
<database defaultIdMethod="native" name="TheliaMain"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="../../../../vendor/thelia/propel/resources/xsd/database.xsd" >

    <table name="short_code" namespace="ShortCode\Model">
        <column autoIncrement="true" name="id" primaryKey="true" required="true" type="INTEGER" />
        <column name="tag" size="55" required="true"/>
        <column name="event" size="255" required="true"/>
        <column name="active" type="TINYINT" />
        <behavior name="timestampable" />
        <unique>
            <unique-column name="tag" />
        </unique>
    </table>
    <external-schema filename="local/config/schema.xml" />
</database>
