fixing bug in sql script
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/fc3f979a Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/fc3f979a Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/fc3f979a Branch: refs/heads/develop Commit: fc3f979a45f6347b3d6e5494cd44212cca021f22 Parents: 94629e1 Author: Chathuri Wimalasena <[email protected]> Authored: Tue Jan 5 10:58:32 2016 -0500 Committer: Chathuri Wimalasena <[email protected]> Committed: Tue Jan 5 10:58:32 2016 -0500 ---------------------------------------------------------------------- .../registry/registry-core/src/main/resources/expcatalog-mysql.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/fc3f979a/modules/registry/registry-core/src/main/resources/expcatalog-mysql.sql ---------------------------------------------------------------------- diff --git a/modules/registry/registry-core/src/main/resources/expcatalog-mysql.sql b/modules/registry/registry-core/src/main/resources/expcatalog-mysql.sql index 47e6134..36b6db6 100644 --- a/modules/registry/registry-core/src/main/resources/expcatalog-mysql.sql +++ b/modules/registry/registry-core/src/main/resources/expcatalog-mysql.sql @@ -338,7 +338,7 @@ CREATE TABLE CONFIGURATION ( CONFIG_KEY VARCHAR(255), CONFIG_VAL VARCHAR(255), - EXPIRE_DATE TIMESTAMP TIMESTAMP DEFAULT NOW() ON UPDATE NOW(), + EXPIRE_DATE TIMESTAMP DEFAULT NOW() ON UPDATE NOW(), CATEGORY_ID VARCHAR (255), PRIMARY KEY(CONFIG_KEY, CONFIG_VAL, CATEGORY_ID) );
