feat(legacy): move session store to database (#2523)
This commit is contained in:
parent
be282fac80
commit
001466f8fd
14 changed files with 2259 additions and 5 deletions
55
legacy/application/models/airtime/map/SessionsTableMap.php
Normal file
55
legacy/application/models/airtime/map/SessionsTableMap.php
Normal file
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This class defines the structure of the 'sessions' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* This map class is used by Propel to do runtime db structure discovery.
|
||||
* For example, the createSelectSql() method checks the type of a given column used in an
|
||||
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
|
||||
* (i.e. if it's a text column type).
|
||||
*
|
||||
* @package propel.generator.airtime.map
|
||||
*/
|
||||
class SessionsTableMap extends TableMap
|
||||
{
|
||||
|
||||
/**
|
||||
* The (dot-path) name of this class
|
||||
*/
|
||||
const CLASS_NAME = 'airtime.map.SessionsTableMap';
|
||||
|
||||
/**
|
||||
* Initialize the table attributes, columns and validators
|
||||
* Relations are not initialized by this method since they are lazy loaded
|
||||
*
|
||||
* @return void
|
||||
* @throws PropelException
|
||||
*/
|
||||
public function initialize()
|
||||
{
|
||||
// attributes
|
||||
$this->setName('sessions');
|
||||
$this->setPhpName('Sessions');
|
||||
$this->setClassname('Sessions');
|
||||
$this->setPackage('airtime');
|
||||
$this->setUseIdGenerator(false);
|
||||
// columns
|
||||
$this->addPrimaryKey('id', 'DbId', 'CHAR', true, 32, null);
|
||||
$this->addColumn('modified', 'DbModified', 'INTEGER', false, null, null);
|
||||
$this->addColumn('lifetime', 'DbLifetime', 'INTEGER', false, null, null);
|
||||
$this->addColumn('data', 'DbData', 'LONGVARCHAR', false, null, null);
|
||||
// validators
|
||||
} // initialize()
|
||||
|
||||
/**
|
||||
* Build the RelationMap objects for this table relationships
|
||||
*/
|
||||
public function buildRelations()
|
||||
{
|
||||
} // buildRelations()
|
||||
|
||||
} // SessionsTableMap
|
Loading…
Add table
Add a link
Reference in a new issue