Categorygithub.com/yscheng-gf/gioco-db-migration
modulepackage
0.0.0-20240702092113-5844edd6ee8e
Repository: https://github.com/yscheng-gf/gioco-db-migration.git
Documentation: pkg.go.dev

# README

gioco-db-migration

First

Before using, you need to create two files named etc/.env and etc/.prod.env. Then fill two files.

Run following command:

make env

Docker

Build

make docker

Usage

As use docker, run following command:

docker run --rm -it gioco-db-migration

Or you have golang environment:

go run main.go

Summary

Migrate postgres db numeric(24, 2) -> numeric(24, 8)

Affected fields

  • op_member_transactions
    • before_balance
    • amount
    • after_balance
  • op_member_wallets
    • balance

# Packages

No description provided by the author
No description provided by the author
No description provided by the author