

/* Alter table in target */
ALTER TABLE `notifications`
	ADD COLUMN `sent` tinyint(1)   NOT NULL DEFAULT 0 after `data` ,
	ADD COLUMN `viewed` tinyint(1)   NOT NULL DEFAULT 0 after `sent` ,
	ADD KEY `FK_notifications__sent`(`sent`) ,
	ADD KEY `FK_notifications__viewed`(`viewed`) ;

UPDATE notifications SET sent = 1;
