-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #582 from PAWECOGmbH/staging
Staging to Production
- Loading branch information
Showing
6 changed files
with
176 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
<cfscript> | ||
// This code generates an SQL script that formats all entries from the given table | ||
if (structKeyExists(session, "sysadmin") and session.sysadmin) { | ||
if (structKeyExists(url, "sql_table")) { | ||
param name="url.prim_key" default="strVariable"; | ||
writeOutput(application.objSettings.generateSqlCode(url.sql_table, url.prim_key)); | ||
// For frontend mappings we also need the table frontend_mappings_trans | ||
if (url.sql_table eq "frontend_mappings") { | ||
writeOutput(application.objSettings.generateSqlCode("frontend_mappings_trans", "strMapping")); | ||
} | ||
} | ||
} | ||
</cfscript> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters