rename postgres to standalonepostgres
This commit is contained in:
@@ -11,7 +11,7 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('postgresqls', function (Blueprint $table) {
|
||||
Schema::create('standalone_postgres', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('uuid')->unique();
|
||||
$table->string('name');
|
||||
@@ -37,6 +37,6 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('postgresqls');
|
||||
Schema::dropIfExists('standalone_postgres');
|
||||
}
|
||||
};
|
||||
@@ -32,7 +32,7 @@ class DatabaseSeeder extends Seeder
|
||||
EnvironmentVariableSeeder::class,
|
||||
LocalPersistentVolumeSeeder::class,
|
||||
S3StorageSeeder::class,
|
||||
PostgresqlSeeder::class,
|
||||
StandalonePostgresSeeder::class,
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -4,17 +4,17 @@ namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
use App\Models\Postgresql;
|
||||
use App\Models\StandalonePostgres;
|
||||
use App\Models\StandaloneDocker;
|
||||
|
||||
class PostgresqlSeeder extends Seeder
|
||||
class StandalonePostgresSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
Postgresql::create([
|
||||
StandalonePostgres::create([
|
||||
'name' => 'Local PostgreSQL',
|
||||
'description' => 'Local PostgreSQL for testing',
|
||||
'postgres_password' => 'postgres',
|
||||
Reference in New Issue
Block a user