Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

wants to merge 1 commit into from

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.

None yet

1 participant