diff --git a/db/migrations/20230606180455_add_index_on_sended_uid.php b/db/migrations/20230606180455_add_index_on_sended_uid.php new file mode 100644 index 0000000..06ea6e9 --- /dev/null +++ b/db/migrations/20230606180455_add_index_on_sended_uid.php @@ -0,0 +1,24 @@ +table('sended'); + $table->changeColumn('uid', 'string', ['limit' => 100]); + $table->addIndex('uid'); + $table->update(); + + + $table = $this->table('call'); + $table->changeColumn('uid', 'string', ['limit' => 100]); + $table->addIndex('uid'); + $table->update(); + } +}