phinx icon indicating copy to clipboard operation
phinx copied to clipboard

Migrations without timestamp

Open filips123 opened this issue 7 years ago • 6 comments

Is it possible to set up migrations without timestamp in the file? Also, is it possible to use some other unique stamp of file, for example version?

I want to use something like this, because I will create multiple versions of my program, so I want to have migrations like v1.0.0_migration.php or migration-v1.0.0-beta.1.php or something like this.

filips123 avatar Nov 01 '18 21:11 filips123

There is a PR (https://github.com/cakephp/phinx/pull/1087) that would allow you to define your own rules for class names. But it is quite out of date at the moment. Maybe if you find it of use, then take it up.

rquadling avatar Dec 28 '18 15:12 rquadling

@rquadling Yes, I would need something like that PR.

filips123 avatar Dec 28 '18 15:12 filips123

@rquadling Author of that PR closed it do I would need something else. Can someone finish it?

filips123 avatar Jan 02 '19 11:01 filips123

Me OSS time is limited until at least 2019Q3. Work and life!

rquadling avatar Jan 08 '19 10:01 rquadling

@rquadling Do you now have some time to check this?

filips123 avatar Oct 05 '19 21:10 filips123

So what do we do with this one here now?

dereuromark avatar Dec 16 '19 10:12 dereuromark