Advertisement
Guest User

Untitled

a guest
May 31st, 2011
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.55 KB | None | 0 0
  1. <?php
  2. /**
  3.  * This class has been auto-generated by the Doctrine ORM Framework
  4.  */
  5. class Version34 extends Doctrine_Migration_Base
  6. {
  7.     public function up()
  8.     {
  9.         $this->changeColumn('sf_guard_remember_key', 'id', 'integer', '8', array(
  10.              'autoincrement' => '1',
  11.              'primary' => '1',
  12.              ));
  13.         $this->changeColumn('sf_guard_remember_key', 'remember_key', 'string', '32', array(
  14.              ));
  15.         $this->changeColumn('sf_guard_remember_key', 'ip_address', 'string', '50', array(
  16.              ));
  17.         $this->changeColumn('sf_guard_remember_key', 'user_id', 'integer', '8', array(
  18.              ));
  19.         $this->changeColumn('sf_guard_remember_key', 'created_at', 'timestamp', '25', array(
  20.              'notnull' => '1',
  21.              ));
  22.         $this->changeColumn('sf_guard_remember_key', 'updated_at', 'timestamp', '25', array(
  23.              'notnull' => '1',
  24.              ));
  25.         $this->changeColumn('sf_guard_user_permission', 'user_id', 'integer', '8', array(
  26.              'primary' => '1',
  27.              ));
  28.         $this->changeColumn('sf_guard_user_permission', 'permission_id', 'integer', '8', array(
  29.              'primary' => '1',
  30.              ));
  31.         $this->changeColumn('sf_guard_user_permission', 'created_at', 'timestamp', '25', array(
  32.              'notnull' => '1',
  33.              ));
  34.         $this->changeColumn('sf_guard_user_permission', 'updated_at', 'timestamp', '25', array(
  35.              'notnull' => '1',
  36.              ));
  37.     }
  38.  
  39.     public function down()
  40.     {
  41.  
  42.     }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement