Location: PHPKode > projects > Pigalle > pigalle/private/settings/db.table.album.xml
<?xml version="1.0"?>
<!-- $Id: db.table.album.xml 2305 2004-02-20 09:34:51Z cvs_iezzi $ -->
<table name="album" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../lib/sourdough/Sd_Db/settings/table.xsd">
	<fields>
		<field>
			<primarykey>true</primarykey>
			<autoincrement>true</autoincrement>
			<name>id</name>
			<type>piga_id</type>
		</field>
		<field>
			<name>name</name>
			<type>piga_filedir</type>
		</field>
		<field>
			<name>superalbumid</name>
			<type>piga_id</type>
			<description>ID of album the subalbum belongs to</description>
		</field>
		<field>
			<name>frontpic</name>
			<type>piga_id</type>
		</field>
		<field>
			<name>title</name>
			<type>piga_description</type>
		</field>
		<field>
			<name>descr</name>
			<type>text</type>
			<description>album description</description>
		</field>
		<field>
			<name>boolppcode</name>
			<type>boolean</type>
			<default>*TRUE</default>
			<description>Flag to enable/disable PPcode in current entry</description>
		</field>
		<field>
			<name>boolshow</name>
			<type>boolean</type>
			<description>Flag to show/hide album</description>
		</field>
		<field>
			<name>date</name>
			<type>piga_epoch</type>
			<description>event's start date of the album</description>
		</field>
		<field>
			<name>dateto</name>
			<type>piga_epoch</type>
			<description>event's end date of the album</description>
		</field>
		<field>
			<name>timestamp</name>
			<type>piga_epoch</type>
			<description>timestamp when album has been created</description>
		</field>
		<field>
			<name>custorder</name>
			<type>int</type>
			<unsigned>true</unsigned>
			<description>album custom display order</description>
		</field>
		<field>
			<name>picsorderby</name>
			<type>piga_description</type>
			<description>Picture order column</description>
		</field>
		<field>
			<name>picsorderdesc</name>
			<type>boolean</type>
			<description>Descending picture order</description>
		</field>
	</fields>
	<indexes>
		<index>
			<name>ind_name</name>
			<indexfields>
				<indexfield>
					<name>name</name>
				</indexfield>
			</indexfields>
		</index>
		<index>
			<name>ind_albumuniq</name>
			<unique>true</unique>
			<indexfields>
				<indexfield>
					<name>superalbumid</name>
				</indexfield>
				<indexfield>
					<name>name</name>
				</indexfield>
			</indexfields>
		</index>
	</indexes>
</table>
Return current item: Pigalle