Skip to content

Commit

Permalink
Switch database schema from MariaDB to PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
maks-oleksyuk committed Jan 11, 2025
1 parent aa34e99 commit 1f17ff1
Show file tree
Hide file tree
Showing 7 changed files with 3,369 additions and 411 deletions.
4 changes: 2 additions & 2 deletions .ddev/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: laravel
type: laravel
docroot: public
database:
type: mariadb
version: '10.11'
type: postgres
version: 17
php_version: '8.3'
host_db_port: '14674'
nodejs_version: '22'
Expand Down
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ DB_PORT=3306
DB_DATABASE=db
DB_USERNAME=db
DB_PASSWORD=db
DB_CONNECTION=mariadb
DB_CONNECTION=pgsql

# Mail:
MAIL_HOST=127.0.0.1
Expand Down
11 changes: 9 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"require": {
"php": "^8.3",
"filament/filament": "^3.2",
"laravel/framework": "^11.36",
"laravel/framework": "^11.37",
"laravel/pulse": "^1.3",
"maks-oleksyuk/laravel-composer-scaffold": "0.0.1",
"spatie/laravel-data": "^4.11"
Expand All @@ -15,7 +15,9 @@
"driftingly/rector-laravel": "^2.0",
"fakerphp/faker": "^1.24",
"larastan/larastan": "^3.0",
"laravel/pint": "^1.19"
"laravel/pint": "^1.19",
"pestphp/pest": "^3.7",
"pestphp/pest-plugin-laravel": "^3.0"
},
"autoload": {
"psr-4": {
Expand All @@ -24,6 +26,11 @@
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"maks-oleksyuk/laravel-composer-scaffold": true,
Expand Down
Loading

0 comments on commit 1f17ff1

Please sign in to comment.