Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * This class has been auto-generated by the Doctrine ORM Framework
- */
- class Version34 extends Doctrine_Migration_Base
- {
- public function up()
- {
- $this->changeColumn('sf_guard_remember_key', 'id', 'integer', '8', array(
- 'autoincrement' => '1',
- 'primary' => '1',
- ));
- $this->changeColumn('sf_guard_remember_key', 'remember_key', 'string', '32', array(
- ));
- $this->changeColumn('sf_guard_remember_key', 'ip_address', 'string', '50', array(
- ));
- $this->changeColumn('sf_guard_remember_key', 'user_id', 'integer', '8', array(
- ));
- $this->changeColumn('sf_guard_remember_key', 'created_at', 'timestamp', '25', array(
- 'notnull' => '1',
- ));
- $this->changeColumn('sf_guard_remember_key', 'updated_at', 'timestamp', '25', array(
- 'notnull' => '1',
- ));
- $this->changeColumn('sf_guard_user_permission', 'user_id', 'integer', '8', array(
- 'primary' => '1',
- ));
- $this->changeColumn('sf_guard_user_permission', 'permission_id', 'integer', '8', array(
- 'primary' => '1',
- ));
- $this->changeColumn('sf_guard_user_permission', 'created_at', 'timestamp', '25', array(
- 'notnull' => '1',
- ));
- $this->changeColumn('sf_guard_user_permission', 'updated_at', 'timestamp', '25', array(
- 'notnull' => '1',
- ));
- }
- public function down()
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement