Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove postbooks specific dependencies

  • Loading branch information...
commit e0d6df0f823b02c77fc638bd1961419271a2dd0b 1 parent 051f65d
John Rogelstad authored
View
2  installer/lib/orm.js
@@ -347,7 +347,7 @@ regexp:true, undef:true, strict:true, trailing:true, white:true */
callback = _.bind(testConnection, this, socket, ack, creds);
- X.db.query("select * from usr limit 1", creds, callback);
+ X.db.query("select * from pg_class limit 1", creds, callback);
// test our connection credentials
//X.db.user = options.username;
View
2  source/xt/trigger_functions/orm_did_change.sql
@@ -17,7 +17,7 @@ create or replace function xt.orm_did_change() returns trigger as $$
while (n--) {
nsp = views[n].beforeDot();
rel = views[n].afterDot();
- plv8.execute("select dropIfExists('VIEW', $1, $2)", [rel, nsp]);
+ plv8.execute("drop view if exists " + nsp + "." + rel);
}
/* Determine whether to rebuild */
Please sign in to comment.
Something went wrong with that request. Please try again.