Gentics Portal.Node PHP API
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Functions
Variables
Pages
common
migrations
m120619_100255_settings.php
1
<?php
2
3
class
m120619_100255_settings
extends
CDbMigration
4
{
5
6
// Use safeUp/safeDown to do migration with transaction
7
public
function
safeUp()
8
{
9
$this->createTable(
'{{settings}}'
, array(
10
'id'
=>
'pk'
,
11
'settings'
=>
'text NOT NULL'
,
12
));
13
}
14
15
public
function
safeDown()
16
{
17
$this->dropTable(
'{{settings}}'
);
18
return
true
;
19
}
20
21
}
Generated on Thu Feb 6 2014 15:47:54 for Gentics Portal.Node PHP API by
1.8.1.2