Gentics Portal.Node PHP API
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Functions
Variables
Pages
common
migrations
m131112_144904_shoppingcart_order_indeces.php
1
<?php
2
class
m131112_144904_shoppingcart_order_indeces
extends
CDbMigration
3
{
4
public
function
up(){
5
$this->createIndex(
'idxOrdered'
,
'{{order}}'
,
'ordered'
);
6
$this->createIndex(
'idxUserId'
,
'{{order}}'
,
'user_id'
);
7
}
8
public
function
down(){
9
$this->dropIndex(
'idxOrdered'
,
'{{order}}'
);
10
$this->dropIndex(
'idxUserId'
,
'{{order}}'
);
11
}
12
}
Generated on Thu Feb 6 2014 15:47:54 for Gentics Portal.Node PHP API by
1.8.1.2