-
Notifications
You must be signed in to change notification settings - Fork 48
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
MIgration of exiting Table to Hypertable not working #13
Comments
Am I doing anything wrong? |
Also the Should this be fixed? |
I think we can handle "migration to hypertable" properly (autodetected by the migration framework).
"migrate_to_hypertable" producreThere are two way we can do this:
|
@schlunsen let me know your views, so that I can start working on it? Do we have test framework(I am new to automatic testing)? so that we can check various conditions for migrations ? |
Hi @daadu Thanks for taking the time to look into this, really nice with some movement on this project! I really appreciate that you have documented and highlighted the issues regarding the migration so well. Would be awesome to have migrations working, which as you correctly observed isn't the case at the moment. I think both use cases are valid and it could be nice if the we with relatively ease could change the strategy of the migration. Maybe this could be a configurable setting for the migration? I lean mostly towards having option 2 that you mention as a default and using |
Hi @daadu, Really cool input on this! Looks like a really positive change. As for testing I would recommend we use pytest and the standard Django test framework and use a GitHub actions to setup as a CI. I agree with @schlunsen that option 2 is the best option, my use cases are only greenfield, does the migrate_data => true have any impact on new tables or is that ignored by timescale? I can't see anything in the docs. |
@bencleary for new table ( |
@bencleary Looks like you have self-assigned #1 , have begin the work for it? where can I check it. would love to add to for migrations. |
As described in README:
this is not trigger migration to hypertable.
I digged into the code and found out that "TimescaleSchemaEditor" only overwrites
def create_model(self, model):
, I don't see how the above mention in "README" would work.The text was updated successfully, but these errors were encountered: