Skip to content

Commit

Permalink
Update Datatype for Logs
Browse files Browse the repository at this point in the history
  • Loading branch information
williamrenfrew authored Feb 5, 2019
2 parents 294818a + cdd61b2 commit cff41ef
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions migrations/003_update_datatype.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

namespace Fuel\Migrations;

class Update_datatype
{
public function up()
{
\DBUtil::modify_fields('synergitech_emails', array(
'postal_id' => array('type' => 'int'),
));
}

public function down()
{
\DBUtil::modify_fields('synergitech_emails', array(
'postal_id' => array('constraint' => 255, 'type' => 'varchar'),
));
}
}

0 comments on commit cff41ef

Please sign in to comment.