<?xml version="1.0" encoding="UTF-8"?>
<database defaultPhpNamingMethod="underscore" heavyIndexing="false" name="propel" defaultIdMethod="native" package="lib.model"><table skipSql="false" abstract="false" name="article"><column autoIncrement="false" lazyLoad="false" name="id" type="integer" required="true" primaryKey="true" autoincrement="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="title" type="varchar" size="255" required="true"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="body" type="longvarchar"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="online" type="boolean"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="EXCERPT" type="varchar"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="category_id" type="integer" required="true"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="created_at" type="timestamp"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="end_date" type="timestamp"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="book_id" type="integer"/><foreign-key onDelete="none" onUpdate="none" foreignTable="category"><reference local="category_id" foreign="id"/></foreign-key><foreign-key onDelete="none" onUpdate="none" foreignTable="book"><reference local="book_id" foreign="id" onDelete="setnull"/></foreign-key><unique name="unique_title_category"><unique-column name="title"/><unique-column name="category_id"/></unique></table><table skipSql="false" abstract="false" name="category"><column autoIncrement="false" lazyLoad="false" name="id" type="integer" required="true" primaryKey="true" autoincrement="true"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="name" type="varchar" size="255"/><unique name="unique_name"><unique-column name="name"/></unique><unique name="unique_name1"><unique-column name="name"/></unique></table><table skipSql="false" abstract="false" name="book"><column autoIncrement="false" lazyLoad="false" name="id" type="integer" required="true" primaryKey="true" autoincrement="true"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="name" type="varchar" size="255"/></table><table skipSql="false" abstract="false" name="author"><column autoIncrement="false" lazyLoad="false" name="id" type="integer" required="true" primaryKey="true" autoincrement="true"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="name" type="varchar" size="255"/></table><table skipSql="false" abstract="false" name="author_article"><column required="false" autoIncrement="false" lazyLoad="false" name="author_id" type="integer" primaryKey="true"/><column required="false" autoIncrement="false" lazyLoad="false" name="article_id" type="integer" primaryKey="true"/><foreign-key onDelete="none" onUpdate="none" foreignTable="author"><reference local="author_id" foreign="id"/></foreign-key><foreign-key onDelete="none" onUpdate="none" foreignTable="article"><reference local="article_id" foreign="id"/></foreign-key></table><table skipSql="false" abstract="false" name="movie" isI18N="true" i18nTable="movie_i18n"><column autoIncrement="false" lazyLoad="false" name="id" type="integer" required="true" primaryKey="true" autoincrement="true"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="director" type="varchar" size="255"/></table><table skipSql="false" abstract="false" name="movie_i18n"><column autoIncrement="false" lazyLoad="false" name="id" type="integer" required="true" primaryKey="true"/><column autoIncrement="false" lazyLoad="false" name="culture" type="varchar" size="7" required="true" primaryKey="true" isCulture="true"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="title" type="varchar"/><foreign-key onUpdate="none" foreignTable="movie" onDelete="cascade"><reference local="id" foreign="id"/></foreign-key></table><table skipSql="false" abstract="false" name="attachment"><column autoIncrement="false" lazyLoad="false" name="id" type="integer" required="true" primaryKey="true" autoincrement="true"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="name" type="varchar" size="255"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="file" type="varchar" size="255"/></table></database>
