Browse Source

Fix #1419 Remove the nullable constraint on presences(resource) since the beginning

pull/1431/head
Timothée Jaussoin 6 months ago
parent
commit
60ba25aa7a
  1. 2
      database/migrations/20180317080249_create_presences_table.php

2
database/migrations/20180317080249_create_presences_table.php

@ -10,7 +10,7 @@ class CreatePresencesTable extends Migration
$this->schema->create('presences', function (Blueprint $table) {
$table->string('session_id', 32);
$table->string('jid', 64);
$table->string('resource', 128)->nullable();
$table->string('resource', 128);
$table->integer('value');
$table->integer('priority');
$table->string('status')->nullable();

Loading…
Cancel
Save