Skip to content

Commit 1be8db9

Browse files
authored
Merge pull request #158 from laravel/feat/pgsql-13
[1.x] Adds support for `PostgreSQL 13.4`
2 parents ebb75c7 + 0988a57 commit 1be8db9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Commands/DatabaseCommand.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ protected function determineDatabaseType($public)
111111
'rds' => 'Fixed Size MySQL Instance 8.0 (Free Tier Eligible)',
112112
'rds-mysql-5.7' => 'Fixed Size MySQL Instance 5.7 (Free Tier Eligible)',
113113
'aurora-serverless' => 'Serverless MySQL Aurora Cluster',
114+
'rds-pgsql-13.4' => 'Fixed Size PostgreSQL Instance 13.4',
114115
'rds-pgsql-11.10' => 'Fixed Size PostgreSQL Instance 11.10',
115116
'rds-pgsql' => 'Fixed Size PostgreSQL Instance 10.7',
116117
'aurora-serverless-pgsql' => 'Serverless PostgreSQL Aurora Cluster',
@@ -140,7 +141,8 @@ protected function determineInstanceClass($type)
140141
if ($type == 'rds'
141142
|| $type == 'rds-mysql-5.7'
142143
|| $type == 'rds-pgsql'
143-
|| $type == 'rds-pgsql-11.10') {
144+
|| $type == 'rds-pgsql-11.10'
145+
|| $type == 'rds-pgsql-13.4') {
144146
return $this->determineRdsInstanceClass();
145147
}
146148
}

src/Commands/DatabaseUpgradeCommand.php

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class DatabaseUpgradeCommand extends Command
1717
'rds' => 'Fixed Size MySQL Instance 8.0 (Free Tier Eligible)',
1818
'rds-mysql-5.7' => 'Fixed Size MySQL Instance 5.7 (Free Tier Eligible)',
1919
'aurora-serverless' => 'Serverless MySQL Aurora Cluster',
20+
'rds-pgsql-13.4' => 'Fixed Size PostgreSQL Instance 13.4',
2021
'rds-pgsql-11.10' => 'Fixed Size PostgreSQL Instance 11.10',
2122
'rds-pgsql' => 'Fixed Size PostgreSQL Instance 10.7',
2223
'aurora-serverless-pgsql' => 'Serverless PostgreSQL Aurora Cluster',

0 commit comments

Comments
 (0)