Browse Source

Fix #1460 Change geturl and seturl to text in Upload table

pull/1466/head
Timothée Jaussoin 1 month ago
parent
commit
b82da33c8d
  1. 1
      CHANGELOG.md
  2. 29
      database/migrations/20250826164924_change_urls_to_text_upload_table.php

1
CHANGELOG.md

@ -17,6 +17,7 @@ v0.32 (master)
* Implement XEP-0390: Entity Capabilities 2.0
* Refactor all the OMEMO related code, drop the Bundles table, handle most of the logic in the JS, refactor the fingerprints resolver, cleanup
* Fix #1459 Allow public posts to be read without Javascript enabled
* Fix #1460 Change geturl and seturl to text in Upload table
v0.31
---------------------------

29
database/migrations/20250826164924_change_urls_to_text_upload_table.php

@ -0,0 +1,29 @@
<?php
use Movim\Migration;
use App\Contact;
use App\Presence;
use App\Roster;
use App\Conference;
use Illuminate\Database\Schema\Blueprint;
class ChangeUrlsToTextUploadTable extends Migration
{
public function up()
{
$this->schema->table('upload', function (Blueprint $table) {
$table->text('geturl')->nullable()->change();
$table->text('puturl')->nullable()->change();
});
}
public function down()
{
$this->schema->table('upload', function (Blueprint $table) {
$table->string('geturl')->nullable()->change();
$table->string('puturl')->nullable()->change();
});
}
}
Loading…
Cancel
Save