Created
January 2, 2016 19:59
-
-
Save cwichoski/ad86af065dd88725b86f to your computer and use it in GitHub Desktop.
StringTemplate to generate CREATE TABLE LIKE to be used with EclipseLink HistoryPolicy feature when creation of tables is managed by EL.
This file contains hidden or 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
| CREATE TABLE <tableName>_audit ( | |
| LIKE <tableName> EXCLUDING ALL, | |
| audit_date_start timestamp, | |
| audit_date_end timestamp | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment