Updated Branches: refs/heads/master ba61d7e02 -> 48b46fce5
S2S VPN: Fix db schema issue Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/48b46fce Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/48b46fce Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/48b46fce Branch: refs/heads/master Commit: 48b46fce5c74dd5392e9c06c6254fb6c7bf8caff Parents: ba61d7e Author: Sheng Yang <[email protected]> Authored: Mon Aug 13 10:26:34 2012 -0700 Committer: Sheng Yang <[email protected]> Committed: Mon Aug 13 10:26:34 2012 -0700 ---------------------------------------------------------------------- setup/db/create-schema.sql | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/48b46fce/setup/db/create-schema.sql ---------------------------------------------------------------------- diff --git a/setup/db/create-schema.sql b/setup/db/create-schema.sql index 98ad9f7..fa933e3 100755 --- a/setup/db/create-schema.sql +++ b/setup/db/create-schema.sql @@ -2162,7 +2162,9 @@ CREATE TABLE `cloud`.`s2s_customer_gateway` ( `ipsec_psk` varchar(256), `ike_policy` varchar(30) NOT NULL, `esp_policy` varchar(30) NOT NULL, - `lifetime` int, + `ike_lifetime` int NOT NULL DEFAULT 86400, + `esp_lifetime` int NOT NULL DEFAULT 3600, + `dpd` int(1) NOT NULL DEFAULT 0, `domain_id` bigint unsigned NOT NULL, `account_id` bigint unsigned NOT NULL, `removed` datetime COMMENT 'date removed if not null',
