schema-transformed.xml 6.9 KB

123
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <database defaultPhpNamingMethod="underscore" heavyIndexing="false" name="propel" package="lib.model" defaultIdMethod="native"><table skipSql="false" abstract="false" name="actions" phpName="ActionsTable"><column lazyLoad="false" name="id" type="INTEGER" size="11" primaryKey="true" autoIncrement="true" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="action" type="VARCHAR" size="20" required="true"/></table><table skipSql="false" abstract="false" name="class" phpName="ClassTable"><column autoIncrement="false" lazyLoad="false" name="id" type="INTEGER" size="11" primaryKey="true" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="name" type="VARCHAR" size="20" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="faculty" type="CHAR" size="4" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="profession_id" type="INTEGER" size="11" required="false"/><foreign-key onDelete="none" onUpdate="none" foreignTable="professions"><reference local="profession_id" foreign="id"/></foreign-key></table><table skipSql="false" abstract="false" name="history" phpName="HistoryTable"><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="daytime" type="TIMESTAMP" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="uid" type="INTEGER" size="10" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="gid" type="INTEGER" size="10" required="false"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="action_id" type="INTEGER" size="11" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="arguments" type="LONGVARCHAR" required="false"/><column autoIncrement="false" lazyLoad="false" name="id" type="INTEGER" size="11" primaryKey="true" required="true"/><foreign-key onDelete="none" onUpdate="none" foreignTable="actions"><reference local="action_id" foreign="id"/></foreign-key></table><table skipSql="false" abstract="false" name="nightload" phpName="NightloadTable"><column lazyLoad="false" name="id" type="INTEGER" size="11" primaryKey="true" autoIncrement="true" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="uid" type="INTEGER" size="10" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="begin" type="TIMESTAMP" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="finish" type="TIMESTAMP" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="state" type="VARCHAR" size="15" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="url" type="LONGVARCHAR" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="protocol" type="VARCHAR" size="10" required="false"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="path" type="LONGVARCHAR" required="true"/></table><table skipSql="false" abstract="false" name="links" phpName="LinksTable"><column lazyLoad="false" name="id" type="INTEGER" size="11" primaryKey="true" autoIncrement="true" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="module_name" type="LONGVARCHAR" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="action_name" type="LONGVARCHAR" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="create_at" type="TIMESTAMP" required="true"/></table><table skipSql="false" abstract="false" name="permissions" phpName="PermissionsTable"><column lazyLoad="false" name="id" type="INTEGER" size="11" primaryKey="true" autoIncrement="true" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="link_id" type="INTEGER" size="11" required="true"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="gid" type="INTEGER" size="10" reuired="1"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="change_at" type="TIMESTAMP" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="change_uid" type="INTEGER" size="10" required="true"/><foreign-key onDelete="none" onUpdate="none" foreignTable="links"><reference local="link_id" foreign="id"/></foreign-key></table><table skipSql="false" abstract="false" name="printings" phpName="PrintingsTable"><column lazyLoad="false" name="id" type="INTEGER" size="11" primaryKey="true" autoIncrement="true" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="uid" type="INTEGER" size="10" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="daytime" type="TIMESTAMP" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="cost" type="INTEGER" size="10" required="false"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="pages" type="INTEGER" size="10" required="true" defaultValue="1"/></table><table skipSql="false" abstract="false" name="professions" phpName="ProfessionsTable"><column autoIncrement="false" lazyLoad="false" name="id" type="INTEGER" size="11" primaryKey="true" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="name" type="VARCHAR" size="20" required="true"/></table><table skipSql="false" abstract="false" name="registrations" phpName="RegistrationsTable"><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="daytime" type="TIMESTAMP" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="staff_uid" type="INTEGER" size="10" required="true"/><column autoIncrement="false" lazyLoad="false" name="registered_uid" type="INTEGER" size="10" primaryKey="true" required="true"/></table><table skipSql="false" abstract="false" name="upload" phpName="UploadTable"><column lazyLoad="false" name="id" type="INTEGER" size="11" primaryKey="true" autoIncrement="true" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="uid" type="INTEGER" size="10" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="daytime" type="TIMESTAMP" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="url" type="LONGVARCHAR" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="filename" type="LONGVARCHAR" required="true"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="filesize" type="INTEGER" size="10" required="false"/><column primaryKey="false" autoIncrement="false" lazyLoad="false" name="state" type="CHAR" required="true" defaultValue="available"/><column primaryKey="false" required="false" autoIncrement="false" lazyLoad="false" name="description" type="LONGVARCHAR"/></table></database>