Skip to content

Commit

Permalink
Add postgres migration && mysql migration
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmbabhazi committed Oct 24, 2024
1 parent 23207ff commit d1e7d66
Show file tree
Hide file tree
Showing 2 changed files with 606 additions and 392 deletions.
10 changes: 5 additions & 5 deletions .env.local
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ PLATFORM_WEBSITE_DOWNLOAD_URL=https://gauzy.co/downloads
DB_ORM=typeorm

# DB_TYPE: sqlite | postgres | better-sqlite3 | mysql
DB_TYPE=better-sqlite3
DB_SYNCHRONIZE=false
DB_TYPE=mysql
DB_SYNCHRONIZE=falses

# DB Connection Parameters
DB_HOST=localhost
## DB Port. The default for PostgreSQL - 5432, for MySQL - 3306
DB_PORT=5432
DB_PORT=3306
DB_NAME=gauzy
## DB Username. The default for PostgreSQL is 'postgres', for MySQL it's 'root'
DB_USER=postgres
DB_PASS=root
DB_USER=root
DB_PASS=R00t@Sammmuel
DB_LOGGING=all
DB_POOL_SIZE=40
DB_POOL_SIZE_KNEX=10
Expand Down
Loading

0 comments on commit d1e7d66

Please sign in to comment.