Poll: Keep sequential migrations in CI4?
Yes
No
[Show Results]
 
 
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Migration Methods

#1
CI4 currently supports two different naming formats for migration files, sequential (001, 002, 003) and timestamp (20190417134413):
https://codeigniter4.github.io/CodeIgnit...file-names


Sequential was a backwards-compatible addition to CI3 - should it continue into CI4? Check out this thread for an example of one of the limitations this might pose:
https://forum.codeigniter.com/thread-733...63511.html
Reply

#2
Would it be useful/interesting to add a "Don't Care" option to the poll?
Reply

#3
Timestamp based can be problematic if your team is working in multiple time zones, so I think the sequentual is a must have!
Reply

#4
(04-18-2019, 02:47 AM)orionstar Wrote: Timestamp based can be problematic if your team is working in multiple time zones, so I think the sequentual is a must have!

I think we can overcome that concern by forcing all timestamps generated through the cli method to be in UTC. Then won't matter where you live and teams should be able to all use it just fine, right?
Support Development  • Practical CodeIgniter 3  • Vulcan - CLI Tools for CI4
Reply

#5
we use sequential migration for client migration and timestamp for dev migration
-> the client migration order is different because some features are not published yet ( but already have migration for it ).
Reply

#6
(04-18-2019, 10:23 PM)kilishan Wrote:
(04-18-2019, 02:47 AM)orionstar Wrote: Timestamp based can be problematic if your team is working in multiple time zones, so I think the sequentual is a must have!

I think we can overcome that concern by forcing all timestamps generated through the cli method to be in UTC. Then won't matter where you live and teams should be able to all use it just fine, right?

Sounds good for me, thanks!
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.