fix typo :)
This commit is contained in:
parent
c78a4de375
commit
4f7ffb903e
|
@ -97,7 +97,7 @@ function loadSchema(schema, railway, app, models) {
|
||||||
railway.orm._schemas.forEach(function (schema) {
|
railway.orm._schemas.forEach(function (schema) {
|
||||||
if(app.enabled('autoupdate')){
|
if(app.enabled('autoupdate')){
|
||||||
schema.autoupdate();
|
schema.autoupdate();
|
||||||
} esle {
|
} else {
|
||||||
schema.freeze();
|
schema.freeze();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue