diff --git a/lib/railway.js b/lib/railway.js index d81cd332..8d2ae77c 100644 --- a/lib/railway.js +++ b/lib/railway.js @@ -97,7 +97,7 @@ function loadSchema(schema, railway, app, models) { railway.orm._schemas.forEach(function (schema) { if(app.enabled('autoupdate')){ schema.autoupdate(); - } esle { + } else { schema.freeze(); } });