Parent Corporate

This commit is contained in:
R
2022-09-01 16:03:52 +07:00
parent 2eb955467d
commit 2215f61db4
9 changed files with 190 additions and 21 deletions

View File

@@ -15,6 +15,8 @@ return new class extends Migration
{
Schema::create('corporates', function (Blueprint $table) {
$table->id();
$table->string('type')->nullable();
$table->foreignId('parent_id')->nullable();
$table->string('code');
$table->string('name')->nullable();
$table->text('welcome_message')->nullable();

View File

@@ -18,7 +18,10 @@ class DatabaseSeeder extends Seeder
$this->call([
DummyMemberSeeder::class,
DummyCorporateSeeder::class
DrugSeeder::class,
IcdSeeder::class,
ServiceSeeder::class,
SpecialitiesSeeder::class,
]);
}
}