Parent Corporate
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -18,7 +18,10 @@ class DatabaseSeeder extends Seeder
|
||||
|
||||
$this->call([
|
||||
DummyMemberSeeder::class,
|
||||
DummyCorporateSeeder::class
|
||||
DrugSeeder::class,
|
||||
IcdSeeder::class,
|
||||
ServiceSeeder::class,
|
||||
SpecialitiesSeeder::class,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user