Exceptions for stupid sqlite.

This commit is contained in:
James Cole 2015-01-29 17:44:13 +01:00
parent a734e04561
commit 5f48f13890

View File

@ -56,7 +56,15 @@ class ChangesForV325 extends Migration
} }
); );
DB::update('ALTER TABLE `transaction_journals` MODIFY `description` VARCHAR(1024)'); try {
DB::update('ALTER TABLE `transaction_journals` MODIFY `description` VARCHAR(1024)');
} catch (QueryException $e) {
// don't care.
} catch (PDOException $e) {
// don't care.
} catch (\Exception $e) {
// don't care either.
}
} }