Skip to content
Snippets Groups Projects
Select Git revision
  • ac478b19103c14990a5ca023362d87e7b7eeba55
  • master default protected
2 results

db_structure.xml

Blame
  • db_structure.xml 23.33 KiB
    <?xml version="1.0" encoding="utf-8" ?>
    <database>
    
    	<name>*dbname*</name>
    	<create>true</create>
    	<overwrite>false</overwrite>
    
    	<charset>utf8</charset>
    
    	<table>
    
    		<!--
    		Namespaced Key-Value Store for Application Configuration.
    		 - Keys are namespaced per appid.
    		 - E.g. (core, global_cache_gc_lastrun) -> 1385463286
    		-->
    		<name>*dbprefix*appconfig</name>
    
    		<declaration>
    
    			<field>
    				<name>appid</name>
    				<type>text</type>
    				<default></default>
    				<notnull>true</notnull>
    				<length>32</length>
    			</field>
    
    			<field>
    				<name>configkey</name>
    				<type>text</type>
    				<default></default>
    				<notnull>true</notnull>
    				<length>64</length>
    			</field>
    
    			<field>
    				<name>configvalue</name>
    				<type>clob</type>
    				<notnull>false</notnull>
    			</field>
    
    			<index>
    				<name>appconfig_appid_key_index</name>
    				<primary>true</primary>
    				<unique>true</unique>
    				<field>
    					<name>appid</name>
    					<sorting>ascending</sorting>
    				</field>
    				<field>
    					<name>configkey</name>
    					<sorting>ascending</sorting>
    				</field>
    			</index>
    			<index>
    				<name>appconfig_config_key_index</name>
    				<field>
    					<name>configkey</name>
    					<sorting>ascending</sorting>
    				</field>
    			</index>
    			<index>
    				<name>appconfig_appid_key</name>
    				<field>
    					<name>appid</name>
    					<sorting>ascending</sorting>
    				</field>
    			</index>