Skip to content

chore(bee api -driver=postgres): change Postgres API generate PrimaryKey and Auto tag#548

Open
maplerichie wants to merge 1 commit intobeego:masterfrom
maplerichie:feature/postgresql-api-generate
Open

chore(bee api -driver=postgres): change Postgres API generate PrimaryKey and Auto tag#548
maplerichie wants to merge 1 commit intobeego:masterfrom
maplerichie:feature/postgresql-api-generate

Conversation

@maplerichie
Copy link

… Key with Serial (Auto increme$

Change in
Methods:

  1. func (postgresDB) GetColumns()
  2. func isSQLDecimal()
  3. func extractIntSignness()
  4. func extractDecimal()

Description

  1. Update query, extra will return "auto_increment" instead of blank "", Primary Key can work toget$
  2. Increase type of decimal
  3. Fix return INT length
  4. Fix return DECIMAL types precision

… Key with Serial (Auto increme$

Change in
Methods:
1. func (postgresDB) GetColumns()
2. func isSQLDecimal()
3. func extractIntSignness()
4. func extractDecimal()

Description
1. Update query, extra will return "auto_increment" instead of blank "", Primary Key can work toget$
2. Increase type of decimal
3. Fix return INT length
4. Fix return DECIMAL types precision
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant