From b141b23a3f6057323e9575321e218d411d615f4b Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 11 Mar 2019 23:47:40 -0600 Subject: [PATCH] Update snowflake migration --- .../2019_03_12_043935_add_snowflakeids_to_users_table.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/database/migrations/2019_03_12_043935_add_snowflakeids_to_users_table.php b/database/migrations/2019_03_12_043935_add_snowflakeids_to_users_table.php index e5d32f2db..3815090ab 100644 --- a/database/migrations/2019_03_12_043935_add_snowflakeids_to_users_table.php +++ b/database/migrations/2019_03_12_043935_add_snowflakeids_to_users_table.php @@ -6,6 +6,11 @@ use Illuminate\Database\Migrations\Migration; class AddSnowflakeidsToUsersTable extends Migration { + public function __construct() + { + DB::getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string'); + } + /** * Run the migrations. *