SCHEDULE TABLE ID CHANGE

This commit is contained in:
naomiaro 2011-02-06 18:38:55 -05:00
parent a5e4056555
commit f04d03aef1
7 changed files with 34 additions and 21 deletions

View file

@ -35,9 +35,10 @@ class CcScheduleTableMap extends TableMap {
$this->setPhpName('CcSchedule');
$this->setClassname('CcSchedule');
$this->setPackage('airtime');
$this->setUseIdGenerator(false);
$this->setUseIdGenerator(true);
$this->setPrimaryKeyMethodInfo('cc_schedule_id_seq');
// columns
$this->addPrimaryKey('ID', 'DbId', 'BIGINT', true, null, null);
$this->addPrimaryKey('ID', 'DbId', 'INTEGER', true, null, null);
$this->addColumn('PLAYLIST_ID', 'DbPlaylistId', 'INTEGER', true, null, null);
$this->addColumn('STARTS', 'DbStarts', 'TIMESTAMP', true, null, null);
$this->addColumn('ENDS', 'DbEnds', 'TIMESTAMP', true, null, null);