Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
fix: for SQL, int64 generates a bigint
Browse files Browse the repository at this point in the history
  • Loading branch information
rsavoye committed Dec 17, 2023
1 parent 691f484 commit 2c057ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tm_admin/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self,
self.yaml = YamlFile(filespec)
self.createTypes()
self.yaml2py = {'int32': 'int',
'int64': 'bigint',
'int64': 'int',
'bool': 'bool',
'string': 'str',
'bytes': 'bytes',
Expand All @@ -66,7 +66,7 @@ def __init__(self,
}

self.yaml2sql = {'int32': 'int',
'int64': 'int',
'int64': 'bigint',
'bool': 'bool',
'string': 'character varying',
'bytes': 'bytea',
Expand Down

0 comments on commit 2c057ba

Please sign in to comment.