Skip to content

Commit

Permalink
Add autoMigrate config option to README for each database (warrant-de…
Browse files Browse the repository at this point in the history
  • Loading branch information
kkajla12 authored Apr 19, 2023
1 parent 0e4d8a0 commit 6d2d8e2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions migrations/datastore/mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ services:
environment:
WARRANT_PORT: 8000
WARRANT_LOGLEVEL: 1
WARRANT_ENABLEACCESSLOG: "true"
WARRANT_DATASTORE: mysql
WARRANT_ENABLEACCESSLOG: true
WARRANT_AUTO_MIGRATE: true
WARRANT_DATASTORE_MYSQL_USERNAME: replace_with_username
WARRANT_DATASTORE_MYSQL_PASSWORD: replace_with_password
WARRANT_DATASTORE_MYSQL_HOSTNAME: database
WARRANT_DATASTORE_MYSQL_DATABASE: warrant
WARRANT_EVENTSTORE: mysql
WARRANT_EVENTSTORE_MYSQL_USERNAME: replace_with_username
WARRANT_EVENTSTORE_MYSQL_PASSWORD: replace_with_password
WARRANT_EVENTSTORE_MYSQL_HOSTNAME: database
Expand Down Expand Up @@ -78,6 +77,7 @@ port: 8000
logLevel: 0
enableAccessLog: true
apiKey: replace_with_api_key
autoMigrate: true
datastore:
mysql:
username: replace_with_username
Expand Down
6 changes: 3 additions & 3 deletions migrations/datastore/postgres/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,13 @@ services:
environment:
WARRANT_PORT: 8000
WARRANT_LOGLEVEL: 1
WARRANT_ENABLEACCESSLOG: "true"
WARRANT_DATASTORE: postgres
WARRANT_ENABLEACCESSLOG: true
WARRANT_AUTO_MIGRATE: true
WARRANT_DATASTORE_POSTGRES_USERNAME: postgres
WARRANT_DATASTORE_POSTGRES_PASSWORD: replace_with_password
WARRANT_DATASTORE_POSTGRES_HOSTNAME: database
WARRANT_DATASTORE_POSTGRES_DATABASE: warrant
WARRANT_DATASTORE_POSTGRES_SSLMODE: disable
WARRANT_EVENTSTORE: postgres
WARRANT_EVENTSTORE_POSTGRES_USERNAME: postgres
WARRANT_EVENTSTORE_POSTGRES_PASSWORD: replace_with_password
WARRANT_EVENTSTORE_POSTGRES_HOSTNAME: database
Expand Down Expand Up @@ -79,6 +78,7 @@ port: 8000
logLevel: 0
enableAccessLog: true
apiKey: replace_with_api_key
autoMigrate: true
datastore:
postgres:
username: replace_with_username
Expand Down
1 change: 1 addition & 0 deletions migrations/datastore/sqlite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ port: 8000
logLevel: 0
enableAccessLog: true
apiKey: replace_with_api_key
autoMigrate: true
datastore:
sqlite:
database: warrant
Expand Down

0 comments on commit 6d2d8e2

Please sign in to comment.