Fork me on GitHub
#sql
<
2023-02-28
>
fabrao01:02:32

hello all, is there any way to apply only the down with migrator?

seancorfield02:02:27

You'll need to provide more detail. What SQL migration library are you using for a start?

seancorfield02:02:51

(Migratus allows you to run down migrations so I'm guessing you are not using that @U0YJJPFRA?)

fabrao02:02:49

@U04V70XH6 yes I'm using migratus, but I saw only a way to reset the database as down and after up. I was wondering that I can use only the down . I saw down you can use with only the migration id.

seancorfield02:02:29

Then I don't understand what you're asking. You can migrate down -- which seemed to be what you are asking -- but you're saying that doesn't do what you want?

fabrao01:02:51

I saw the reset but it will apply the down and up again.