From 4f7ffb903eae588c0a7681ed6545f4c65f9e2cc2 Mon Sep 17 00:00:00 2001 From: Asp3ctus Date: Tue, 8 Jan 2013 15:37:58 +0600 Subject: [PATCH] fix typo :) --- lib/railway.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } });