migrations boolean() -> smallInteger()

This commit is contained in:
xiaomlove
2026-04-14 13:12:56 +07:00
parent 4d4af87dc9
commit 4d54e08918
45 changed files with 136 additions and 103 deletions
@@ -23,7 +23,7 @@ class CreateStaffmessagesTable extends Migration
$table->text('msg')->nullable();
$table->string('subject', 128)->default('');
$table->unsignedMediumInteger('answeredby')->default(0);
$table->boolean('answered')->default(0);
$table->smallInteger('answered')->default(0);
$table->text('answer')->nullable();
});
}