Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
m120507_125127_custom_user_fields.php
1 <?php
2 /**
3  * Gentics Portal.Node PHP
4  * Author & Copyright (c) by Gentics Software GmbH
5  * sales@gentics.com
6  * http://www.gentics.com
7  * Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8  * You must not use this software without a valid license agreement.
9  */
10 class m120507_125127_custom_user_fields extends CDbMigration
11 {
12  public function up()
13  {
14  $this->update('{{profiles_fields}}', array('position' => 100), 'id > 3');
15 
16  }
17 
18  public function down()
19  {
20  $this->update('{{profiles_fields}}', array('position' => null), 'id > 3');
21  }
22 
23 }