mirror of
https://github.com/astaxie/beego.git
synced 2024-11-16 15:20:56 +00:00
Merge pull request #737 from ZhengYang/develop
change time format for migration module
This commit is contained in:
commit
da6726f3da
@ -101,7 +101,7 @@ func (m *Migration) addOrUpdateRecord(name, status string) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
t, err := time.Parse(M_DB_DATE_FORMAT, m.Created)
|
t, err := time.Parse(M_DATE_FORMAT, m.Created)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user