This commit is contained in:
sayliraut
2024-06-20 18:49:52 +05:30
parent 02b35a8892
commit 9a465b908e
2 changed files with 2 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ class RulesApiServices
public function getVoucherRules()
{
try {
$data = ManageRule::select('id', 'message')
$data = ManageRule::select('id', 'title', 'message')
->get()
->toArray();

View File

@@ -13,6 +13,7 @@ return new class extends Migration
{
Schema::create('manage_rules', function (Blueprint $table) {
$table->id();
$table->longtext('title')->nullable();
$table->longtext('message')->nullable();
$table->timestamps();
});