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

The datatype mapping doesn't works in some cases #24

Open
leopedroso13 opened this issue May 2, 2022 · 0 comments
Open

The datatype mapping doesn't works in some cases #24

leopedroso13 opened this issue May 2, 2022 · 0 comments

Comments

@leopedroso13
Copy link

Its a powerfull and awesome tool! I'm using this tool since February, 2022. Its perfect. But I'm taking some little erros, its a little effotr in replace on notepad++, for example, in the "sql_type_mapping" section, I would like to transform timestamp to bytea and datetime2 to timestamptz, and I put this code below:

"timestamp" : "bytea",
"datetime2" : "timestamptz",

But, when I check the DDL file, the datatypes for theses coluns remaing timpestamp and datetime2, and I need put on notepad++ and replace manually.

Another problem is a comment in a column, when we have a coment like this: "--Default value for table AS 0", the part of AS 0 is broke and putted in the another line, and occuring sintax errors.

All erros are easy to fix, and I made this fix everyday, its simple to fix. If necessary, I can send you prints and files.

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

No branches or pull requests

1 participant