Add a size to the group string to prevent migration issue with old MySQL releases

This commit is contained in:
Timothée Jaussoin 2022-07-21 12:23:33 +02:00
parent 97fca6422b
commit ae0ef3fb8e
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ class CreateExternalAccountsTable extends Migration
});
Schema::table('accounts', function (Blueprint $table) {
$table->string('group')->nullable();
$table->string('group', 16)->nullable();
$table->index('group');
});
}

View file

@ -8,7 +8,7 @@
#%define _datadir %{_datarootdir}
#%define _docdir %{_datadir}/doc
%define build_number 144
%define build_number 145
%define var_dir /var/opt/belledonne-communications
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager