Merge pull request #182 from WDI-Ideas/sayli

Sayli
This commit is contained in:
Sayli Raut
2024-06-20 18:50:04 +05:30
committed by GitHub
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();
});