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

generate "alter table" statements based on rules #15

Open
rkiddy opened this issue Jan 30, 2025 · 0 comments
Open

generate "alter table" statements based on rules #15

rkiddy opened this issue Jan 30, 2025 · 0 comments
Labels
all-datasets enhancement New feature or request

Comments

@rkiddy
Copy link
Owner

rkiddy commented Jan 30, 2025

There is going to be a smarter way to do this than just the obvious.

For example, the longitude and latitude columns can be changed to decimal(12,8).

I want to have a fetch_special_after.sql file that does these alters. I tried to generate them with an awk script and it got a bit dumb.

I could just look at the database and change all of the columns with this name, but I want to do it per dataset so that it only gets done when needed.

@rkiddy rkiddy added all-datasets enhancement New feature or request labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
all-datasets enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant