b55ab6d22a
* String columns with a length higher then 4000 are converted into a CLOB columns automagically - we have to respect this when migrating * Adding schema migration tests to prevent unnecessary and non-sense migration steps Fix Oracle autoincrement and unsigned handling * Fix sqlite integer type for autoincrement * Use lower case table names - fixes pg * Fix postgres with default -1 - this only affect pg 9.4 servers - 9.5 seems to work fine
51 lines
879 B
XML
51 lines
879 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<database>
|
|
|
|
<table>
|
|
|
|
<!--
|
|
Table for storing transactional file locking
|
|
-->
|
|
<name>*dbprefix*file_locks</name>
|
|
|
|
<declaration>
|
|
|
|
<field>
|
|
<name>id</name>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<notnull>true</notnull>
|
|
<unsigned>true</unsigned>
|
|
<length>4</length>
|
|
<autoincrement>1</autoincrement>
|
|
</field>
|
|
|
|
<field>
|
|
<name>lock</name>
|
|
<type>integer</type>
|
|
<default>0</default>
|
|
<notnull>true</notnull>
|
|
<length>4</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>key</name>
|
|
<type>text</type>
|
|
<notnull>true</notnull>
|
|
<default>(stupid text)</default>
|
|
<length>64</length>
|
|
</field>
|
|
|
|
<field>
|
|
<name>ttl</name>
|
|
<type>integer</type>
|
|
<default>-1</default>
|
|
<notnull>true</notnull>
|
|
<length>4</length>
|
|
</field>
|
|
|
|
</declaration>
|
|
|
|
</table>
|
|
|
|
</database>
|