mybatis up not working

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

mybatis up not working

odoisneau-2
MyBatis status tells me there are 2 pending. 
MyBatis up does not apply them
myBatis pending does apply them. 

Why would a file not be run with up?

 migrate --env=dev1 status

------------------------------------------------------------------------

-- MyBatis Migrations - status

------------------------------------------------------------------------

ID             Applied At          Description

================================================================================

20170529230732 2018-02-28 13:46:52 create changelog

20180528064826 2018-05-30 15:41:42 x congif alters

20180528070001    ...pending...    ssotoken xconfig triggers

20180528074549    ...pending...    xconfig zedit


------------------------------------------------------------------------

-- MyBatis Migrations SUCCESS

-- Total time: 1s

-- Finished at: Wed May 30 17:48:27 EDT 2018

-- Final Memory: 15M/480M

------------------------------------------------------------------------

odoisneau:ddl odoisneau$ migrate --env=dev1 up

------------------------------------------------------------------------

-- MyBatis Migrations - up

------------------------------------------------------------------------

------------------------------------------------------------------------

-- MyBatis Migrations SUCCESS

-- Total time: 1s

-- Finished at: Wed May 30 17:48:33 EDT 2018

-- Final Memory: 15M/480M

------------------------------------------------------------------------


 migrate --env=dev1 status

------------------------------------------------------------------------

-- MyBatis Migrations - status

------------------------------------------------------------------------

ID             Applied At          Description

================================================================================

20170529230732 2018-02-28 13:46:52 create changelog

20180528064826 2018-05-30 15:41:42 x congif alters

20180528070001    ...pending...    ssotoken xconfig triggers

20180528074549    ...pending...    xconfig zedit



--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: mybatis up not working

Iwao AVE!
Hi,

Check your changelog table to see if there is any extra entry with a larger ID.

Regards,
Iwao

2018-05-31 7:07 GMT+09:00 <[hidden email]>:
MyBatis status tells me there are 2 pending. 
MyBatis up does not apply them
myBatis pending does apply them. 

Why would a file not be run with up?

 migrate --env=dev1 status

------------------------------------------------------------------------

-- MyBatis Migrations - status

------------------------------------------------------------------------

ID             Applied At          Description

================================================================================

20170529230732 2018-02-28 13:46:52 create changelog

20180528064826 2018-05-30 15:41:42 x congif alters

20180528070001    ...pending...    ssotoken xconfig triggers

20180528074549    ...pending...    xconfig zedit


------------------------------------------------------------------------

-- MyBatis Migrations SUCCESS

-- Total time: 1s

-- Finished at: Wed May 30 17:48:27 EDT 2018

-- Final Memory: 15M/480M

------------------------------------------------------------------------

odoisneau:ddl odoisneau$ migrate --env=dev1 up

------------------------------------------------------------------------

-- MyBatis Migrations - up

------------------------------------------------------------------------

------------------------------------------------------------------------

-- MyBatis Migrations SUCCESS

-- Total time: 1s

-- Finished at: Wed May 30 17:48:33 EDT 2018

-- Final Memory: 15M/480M

------------------------------------------------------------------------


 migrate --env=dev1 status

------------------------------------------------------------------------

-- MyBatis Migrations - status

------------------------------------------------------------------------

ID             Applied At          Description

================================================================================

20170529230732 2018-02-28 13:46:52 create changelog

20180528064826 2018-05-30 15:41:42 x congif alters

20180528070001    ...pending...    ssotoken xconfig triggers

20180528074549    ...pending...    xconfig zedit



--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: mybatis up not working

odoisneau-2
No that is not it.



On Thursday, May 31, 2018 at 5:41:16 AM UTC-4, Iwao AVE! wrote:
Hi,

Check your changelog table to see if there is any extra entry with a larger ID.

Regards,
Iwao

2018-05-31 7:07 GMT+09:00 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="5GOwx5ElAAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">odoi...@...>:
MyBatis status tells me there are 2 pending. 
MyBatis up does not apply them
myBatis pending does apply them. 

Why would a file not be run with up?

 migrate --env=dev1 status

------------------------------------------------------------------------

-- MyBatis Migrations - status

------------------------------------------------------------------------

ID             Applied At          Description

================================================================================

20170529230732 2018-02-28 13:46:52 create changelog

20180528064826 2018-05-30 15:41:42 x congif alters

20180528070001    ...pending...    ssotoken xconfig triggers

20180528074549    ...pending...    xconfig zedit


------------------------------------------------------------------------

-- MyBatis Migrations SUCCESS

-- Total time: 1s

-- Finished at: Wed May 30 17:48:27 EDT 2018

-- Final Memory: 15M/480M

------------------------------------------------------------------------

odoisneau:ddl odoisneau$ migrate --env=dev1 up

------------------------------------------------------------------------

-- MyBatis Migrations - up

------------------------------------------------------------------------

------------------------------------------------------------------------

-- MyBatis Migrations SUCCESS

-- Total time: 1s

-- Finished at: Wed May 30 17:48:33 EDT 2018

-- Final Memory: 15M/480M

------------------------------------------------------------------------


 migrate --env=dev1 status

------------------------------------------------------------------------

-- MyBatis Migrations - status

------------------------------------------------------------------------

ID             Applied At          Description

================================================================================

20170529230732 2018-02-28 13:46:52 create changelog

20180528064826 2018-05-30 15:41:42 x congif alters

20180528070001    ...pending...    ssotoken xconfig triggers

20180528074549    ...pending...    xconfig zedit



--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="5GOwx5ElAAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mybatis-user...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: mybatis up not working

Iwao AVE!
Then please try to find a minimum set of scripts that reproduces the issue and upload it to your GitHub repo.
As it seems to be a filename/ID issue, the content of each script shouldn't matter, I guess.

We may need some basic info, too.

- Migrations version
- DB vendor and version
- OS version
- Java version

Regards,
Iwao

2018-06-01 1:43 GMT+09:00 <[hidden email]>:
No that is not it.



On Thursday, May 31, 2018 at 5:41:16 AM UTC-4, Iwao AVE! wrote:
Hi,

Check your changelog table to see if there is any extra entry with a larger ID.

Regards,
Iwao

2018-05-31 7:07 GMT+09:00 <[hidden email]>:
MyBatis status tells me there are 2 pending. 
MyBatis up does not apply them
myBatis pending does apply them. 

Why would a file not be run with up?

 migrate --env=dev1 status

------------------------------------------------------------------------

-- MyBatis Migrations - status

------------------------------------------------------------------------

ID             Applied At          Description

================================================================================

20170529230732 2018-02-28 13:46:52 create changelog

20180528064826 2018-05-30 15:41:42 x congif alters

20180528070001    ...pending...    ssotoken xconfig triggers

20180528074549    ...pending...    xconfig zedit


------------------------------------------------------------------------

-- MyBatis Migrations SUCCESS

-- Total time: 1s

-- Finished at: Wed May 30 17:48:27 EDT 2018

-- Final Memory: 15M/480M

------------------------------------------------------------------------

odoisneau:ddl odoisneau$ migrate --env=dev1 up

------------------------------------------------------------------------

-- MyBatis Migrations - up

------------------------------------------------------------------------

------------------------------------------------------------------------

-- MyBatis Migrations SUCCESS

-- Total time: 1s

-- Finished at: Wed May 30 17:48:33 EDT 2018

-- Final Memory: 15M/480M

------------------------------------------------------------------------


 migrate --env=dev1 status

------------------------------------------------------------------------

-- MyBatis Migrations - status

------------------------------------------------------------------------

ID             Applied At          Description

================================================================================

20170529230732 2018-02-28 13:46:52 create changelog

20180528064826 2018-05-30 15:41:42 x congif alters

20180528070001    ...pending...    ssotoken xconfig triggers

20180528074549    ...pending...    xconfig zedit



--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mybatis-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.