Make sure upgrade uses the same schema as installation.
- Removed vendor info in fields from schema.xml - Mapped VARLONGCHAR to mediumtext - Database upgrades now uses field attributes instead of vendor info. - Updated app_cache_view files to conform to schema.sql
This commit is contained in:
@@ -110,11 +110,11 @@ class AppCacheViewMapBuilder {
|
||||
|
||||
$tMap->addColumn('DEL_DELAY_DURATION', 'DelDelayDuration', 'double', CreoleTypes::DOUBLE, false, null);
|
||||
|
||||
$tMap->addColumn('DEL_STARTED', 'DelStarted', 'int', CreoleTypes::TINYINT, false, null);
|
||||
$tMap->addColumn('DEL_STARTED', 'DelStarted', 'int', CreoleTypes::TINYINT, true, null);
|
||||
|
||||
$tMap->addColumn('DEL_FINISHED', 'DelFinished', 'int', CreoleTypes::TINYINT, false, null);
|
||||
$tMap->addColumn('DEL_FINISHED', 'DelFinished', 'int', CreoleTypes::TINYINT, true, null);
|
||||
|
||||
$tMap->addColumn('DEL_DELAYED', 'DelDelayed', 'int', CreoleTypes::TINYINT, false, null);
|
||||
$tMap->addColumn('DEL_DELAYED', 'DelDelayed', 'int', CreoleTypes::TINYINT, true, null);
|
||||
|
||||
$tMap->addColumn('APP_CREATE_DATE', 'AppCreateDate', 'int', CreoleTypes::TIMESTAMP, true, null);
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ class ApplicationMapBuilder {
|
||||
|
||||
$tMap->addColumn('APP_DATA', 'AppData', 'string', CreoleTypes::LONGVARCHAR, true, null);
|
||||
|
||||
$tMap->addColumn('APP_PIN', 'AppPin', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
$tMap->addColumn('APP_PIN', 'AppPin', 'string', CreoleTypes::VARCHAR, true, 32);
|
||||
|
||||
$tMap->addValidator('APP_STATUS', 'validValues', 'propel.validator.ValidValuesValidator', 'DRAFT|TO_DO|PAUSED|COMPLETED|CANCELLED', 'Please select a valid status.');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user