CREATE TABLE `psi_quarters` (
  `quarter_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `quarter_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '',
  `region_id` bigint(20) unsigned DEFAULT '6',
  `synched` tinyint(1) unsigned DEFAULT '0',
  `sync_date` datetime DEFAULT NULL,
  `date_encoded` datetime DEFAULT NULL,
  `last_updated` datetime DEFAULT NULL,
  `encoder` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '',
  `updater` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '',
  PRIMARY KEY (`quarter_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO psi_quarters (quarter_id, quarter_name, region_id, synched, sync_date, date_encoded, last_updated, encoder, updater) VALUES
(1, '1st Quarter', 6, 0, NULL, NULL, NULL, '', ''),
(2, '2nd Quarter', 6, 0, NULL, NULL, NULL, '', ''),
(3, '3rd Quarter', 6, 0, NULL, NULL, NULL, '', ''),
(4, '4th Quarter', 6, 0, NULL, NULL, NULL, '', '');
