-
Notifications
You must be signed in to change notification settings - Fork 0
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
Confusing installation steps #8
Comments
Right now the setup is basically copying the example's migrate.ts file. The current installation path is shown further down in the Postgres CLI section. I don't specify how to earlier in the CLI section. However the example uses relative paths for the imports. They need to be changed to urls or jsr. If using jsr, I should make the import path |
Something I stumbled across when using this is that the use of the I guess the steps should be:
If I understand how this works correctly? That seemed to work for me. |
Thanks for that feedback. I think I might just get rid of the init and load steps in the next release. Currently init is used to create the table for tracking migrations, load is used for checking the folder for any new/changed migrations, then all the other commands just go by what is in the table rather than checking the migrations directory. So currently, you must load the migrations before applying. |
I think that would definitely give it a bit more of an automatic feeling, similar to how Personally, I'm a fan of an I wonder if to make it feel a bit more magical you could have the init command also make the
Or combining both:
|
Trying to use this package, I'm lost in the installation phase, between copy pasting files and getting circular dependancies in the deps file.
I think the installation readme should be more straightforward.
The text was updated successfully, but these errors were encountered: