1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00

Update snowflake migration

This commit is contained in:
Daniel Supernault 2019-03-11 23:47:40 -06:00
parent 00bcf53045
commit b141b23a3f
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -6,6 +6,11 @@ use Illuminate\Database\Migrations\Migration;
class AddSnowflakeidsToUsersTable extends Migration class AddSnowflakeidsToUsersTable extends Migration
{ {
public function __construct()
{
DB::getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string');
}
/** /**
* Run the migrations. * Run the migrations.
* *