From 8e38c7f2f8b54ec4aa45fb580fc1e65b8036e9d4 Mon Sep 17 00:00:00 2001 From: Sam Millman Date: Tue, 1 Nov 2016 14:35:48 +0000 Subject: [PATCH] Removed ENUM migration --- .../m161004_132206_change_action_field.php | 31 ------------------- 1 file changed, 31 deletions(-) delete mode 100644 migrations/m161004_132206_change_action_field.php diff --git a/migrations/m161004_132206_change_action_field.php b/migrations/m161004_132206_change_action_field.php deleted file mode 100644 index eabd58a..0000000 --- a/migrations/m161004_132206_change_action_field.php +++ /dev/null @@ -1,31 +0,0 @@ -alterColumn('tbl_audit_trail', 'action', "ENUM('".LoggableBehavior::ACTION_CHANGE."', '".LoggableBehavior::ACTION_CREATE."', '".LoggableBehavior::ACTION_DELETE."', '".LoggableBehavior::ACTION_SET."') NOT NULL"); - - } - - public function down() - { - $this->alterColumn('tbl_audit_trail', 'action', Schema::TYPE_STRING . ' NOT NULL'); - } - - // Use safeUp/safeDown to run migration code within a transaction - public function safeUp() - { - $this->up(); - } - - public function safeDown() - { - $this->down(); - } -}