You could use this script to rename all your migrations with the new
format.
I've used this chunk of code in a project (undeployed yet) to normalize
the migrations names (01_, 02_ ... format and UTC format)
Maybe could be useful for you.
#!/usr/bin/env ruby
require 'find'
require 'fileutils'
r
Frederick Cheung wrote:
> Do you also have a schema migrations table ? if so I'd try dropping
> it. This is the replacement for the schema_info table, and should be
> automatically created so that migrations are assumed to have run up to
> the right point but might have got screwed up.
Thanks mu
2 matches
Mail list logo