Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

correct the order of tables in init_global.sql

  • Loading branch information...
commit bfe596a8aa1061446122d7904a6dddef2d319c72 1 parent cc62984
@bendiy authored
Showing with 11 additions and 4 deletions.
  1. +11 −4 node-datasource/database/source/init_global.sql
15 node-datasource/database/source/init_global.sql
@@ -10,20 +10,27 @@
-- [ START ] xt
-- xt tables
-\i xt/tables/bicache.sql
+-- These need to be in the correct order for them to load based on dependant columns.
\i xt/tables/datasource.sql
\i xt/tables/dbserver.sql
\i xt/tables/ext.sql
-\i xt/tables/oa2client.sql
-\i xt/tables/oa2clientredirs.sql
-\i xt/tables/oa2token.sql
\i xt/tables/org.sql
\i xt/tables/orgext.sql
+-- TODO Remove session in a future version after it has had time to be dropped.
\i xt/tables/session.sql
\i xt/tables/sessionorg.sql
\i xt/tables/sessionstore.sql
\i xt/tables/usr.sql
\i xt/tables/usrorg.sql
+\i xt/tables/sessionorg.sql
+\i xt/tables/oa2client.sql
+\i xt/tables/oa2clientredirs.sql
+\i xt/tables/oa2token.sql
+\i xt/tables/bicache.sql
-- xt functions
\i xt/functions/add_priv.sql
Please sign in to comment.
Something went wrong with that request. Please try again.