chore: rename the DB strings in buildconfigwithdefaults to DATABASE_URI (#5490)
* chore: rename the DB strings in buildconfigwithdefaults to DATABASE_URI * reverse name change for postgres strings
This commit is contained in:
@@ -32,7 +32,7 @@ import sharp from 'sharp'
|
|||||||
|
|
||||||
const databaseAdapters = {
|
const databaseAdapters = {
|
||||||
mongoose: mongooseAdapter({
|
mongoose: mongooseAdapter({
|
||||||
url: process.env.MONGO_URL || 'mongodb://127.0.0.1/payloadtests',
|
url: process.env.DATABASE_URI || 'mongodb://127.0.0.1/payloadtests',
|
||||||
}),
|
}),
|
||||||
postgres: postgresAdapter({
|
postgres: postgresAdapter({
|
||||||
pool: {
|
pool: {
|
||||||
|
|||||||
Reference in New Issue
Block a user