Skip to content

Instantly share code, notes, and snippets.

@toopay
Created January 8, 2021 20:15
Show Gist options
  • Save toopay/656924bab3ebb6d777f710ca352d9e1f to your computer and use it in GitHub Desktop.
Save toopay/656924bab3ebb6d777f710ca352d9e1f to your computer and use it in GitHub Desktop.
connect-new-table
DROP TABLE IF EXISTS `email_template`;
CREATE TABLE IF NOT EXISTS `email_template` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`template_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`category` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`can_aggregate` tinyint(1) NOT NULL DEFAULT '0',
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment