Skip to content

Commit

Permalink
refactor: migrate connection and db modules
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 16, 2023
1 parent 7e01150 commit 145ee86
Show file tree
Hide file tree
Showing 83 changed files with 6,749 additions and 7,917 deletions.
52 changes: 30 additions & 22 deletions .env
Original file line number Diff line number Diff line change
@@ -1,31 +1,39 @@
DB=pg
DB_NAME=lucid
LEGACY_MYSQL_HOST=localhost
LEGACY_MYSQL_PASSWORD=secret
LEGACY_MYSQL_DATABASE=lucid
LEGACY_MYSQL_PORT=3306
LEGACY_MYSQL_USER=virk

LEGACY_MYSQL_READ_REPLICA_HOST=localhost
LEGACY_MYSQL_READ_REPLICA_PASSWORD=secret
LEGACY_MYSQL_READ_REPLICA_DATABASE=lucid
LEGACY_MYSQL_READ_REPLICA_PORT=3307
LEGACY_MYSQL_READ_REPLICA_USER=virk

MYSQL_HOST=localhost
MYSQL_PORT=3306
MYSQL_PASSWORD=secret
MYSQL_DATABASE=lucid
MYSQL_PORT=3308
MYSQL_USER=virk
MYSQL_PASSWORD=password

MYSQL_LEGACY_HOST=localhost
MYSQL_LEGACY_PORT=3306
MYSQL_LEGACY_USER=virk
MYSQL_LEGACY_PASSWORD=password

MYSQL_REPLICA_1_HOST=localhost
MYSQL_REPLICA_1_PORT=3306
MYSQL_REPLICA_1_USER=virk
MYSQL_REPLICA_1_PASSWORD=password

MYSQL_REPLICA_2_HOST=localhost
MYSQL_REPLICA_2_PORT=3306
MYSQL_REPLICA_2_USER=virk
MYSQL_REPLICA_2_PASSWORD=password

PG_HOST=localhost
PG_PASSWORD=secret
PG_DATABASE=lucid
PG_PORT=5432
PG_USER=virk
PG_PASSWORD=password

MSSQL_SERVER=localhost
PG_READ_REPLICA_HOST=localhost
PG_READ_REPLICA_PASSWORD=secret
PG_READ_REPLICA_DATABASE=lucid
PG_READ_REPLICA_PORT=5433
PG_READ_REPLICA_USER=virk

MSSQL_HOST=localhost
MSSQL_PASSWORD=secrearandom&233passwordt
MSSQL_PORT=1433
MSSQL_USER=sa
MSSQL_PASSWORD=arandom&233password

MSSQL_READ_REPLICA_HOST=localhost
MSSQL_READ_REPLICA_PASSWORD=secrearandom&233passwordt
MSSQL_READ_REPLICA_PORT=1434
MSSQL_READ_REPLICA_USER=sa
70 changes: 0 additions & 70 deletions .github/COMMIT_CONVENTION.md

This file was deleted.

46 changes: 0 additions & 46 deletions .github/CONTRIBUTING.md

This file was deleted.

29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

28 changes: 0 additions & 28 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

28 changes: 0 additions & 28 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

Loading

0 comments on commit 145ee86

Please sign in to comment.