Commit 55496ca4 authored by Jamie McClelland's avatar Jamie McClelland

fixing previous commit: we only want the table if it doesn't exist

otherwise we get a syntax error and a stupid result.
parent c3fb2eac
......@@ -2,7 +2,7 @@
-- Table structure for table `civicrm_petition_email`
--
CREATE TABLE IF EXISTS `civicrm_petition_email` (
CREATE TABLE IF NOT EXISTS `civicrm_petition_email` (
`petition_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The SID of the petition.',
`recipient_email` varchar(128) DEFAULT NULL COMMENT 'The email of the petition target.',
`recipient_name` varchar(128) DEFAULT NULL COMMENT 'The display name of the petition target.',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment