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:
Alexandre Rosenfeld
2011-02-24 16:21:26 +00:00
parent 7e655b2cee
commit b9a1aea8d3
13 changed files with 954 additions and 6691 deletions

View File

@@ -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.');