11 changed files with 98 additions and 48 deletions
-
10app/Message.php
-
2app/MessageOmemoHeader.php
-
22app/Widgets/Chat/Chat.php
-
22app/Widgets/Chat/chat.js
-
9app/Widgets/SendTo/SendTo.php
-
27app/Widgets/Stickers/Stickers.php
-
2app/Widgets/Stickers/_stickers_gifs_result.tpl
-
12app/Widgets/StoriesViewer/StoriesViewer.php
-
21database/migrations/20260501212107_add_sticker_to_messages_table.php
-
9src/Moxl/Stanza/Message.php
-
10src/Moxl/Xec/Action/Message/Publish.php
@ -0,0 +1,21 @@ |
|||
<?php |
|||
|
|||
use Movim\Migration; |
|||
use Illuminate\Database\Schema\Blueprint; |
|||
|
|||
class AddStickerToMessagesTable extends Migration |
|||
{ |
|||
public function up() |
|||
{ |
|||
$this->schema->table('messages', function (Blueprint $table) { |
|||
$table->boolean('sticker')->default(false); |
|||
}); |
|||
} |
|||
|
|||
public function down() |
|||
{ |
|||
$this->schema->table('messages', function (Blueprint $table) { |
|||
$table->dropColumn('sticker'); |
|||
}); |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue