HOR-2456: Schema

This commit is contained in:
Paula Quispe
2017-01-09 17:13:48 -04:00
parent 28477a6667
commit f99203c055
24 changed files with 1860 additions and 936 deletions

View File

@@ -63,10 +63,12 @@ class UsersMapBuilder
$tMap = $this->dbMap->addTable('USERS');
$tMap->setPhpName('Users');
$tMap->setUseIdGenerator(false);
$tMap->setUseIdGenerator(true);
$tMap->addPrimaryKey('USR_UID', 'UsrUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addColumn('USR_ID', 'UsrId', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('USR_USERNAME', 'UsrUsername', 'string', CreoleTypes::VARCHAR, true, 100);
$tMap->addColumn('USR_PASSWORD', 'UsrPassword', 'string', CreoleTypes::VARCHAR, true, 128);