Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Twitter


No poll attached to this discussion.

In this Discussion

Bonfire core migrations apply automatically?

in General edited October 2012


I've written a migration to replace Activities.{User,Module,Date}.View with Activities.All.View. Each of them let you view all activities, so there's no real distinction, and it clutters up the permissions list.

I'm trying to test my down() method. But if I ask Bonfire to downgrade to the previous schema version... I get a success message, but the actual schema version is unchanged. I think Bonfire is automatically upgrading the schema when the page loads. Is there some way to disable the automatic upgrade, so I can check the effect of my down() method on the database?

  • Posts: 0

    I noticed there is a bug in some Migrations there is a error in your Migration then it claims it works when it does not. Otherwise just turn of automigration in your config file, config/application.php

  • Thanks, that helped! The installer gave me an error message, and knowing that I was able to find the error.

  • Posts: 0

    I'm working on a more fail proof error reporting method for the migrations atm actually, the first time that happened to me it thru me for a loop for a hour or so until I finally just ran the query in a controller to see what was going on.

Sign In or Register to comment.
Origami is the Japanese word for paper folding. ORI means to fold and KAMI means paper and involves the creation of paper forms usually entirely by folding.

Powered by VanillaForums, Designed by Steam