crash when i get a Friend request..
I use Phoenix 3.11 with phx db
Printable View
crash when i get a Friend request..
I use Phoenix 3.11 with phx db
Post your exceptions here
Run this.
DROP TABLE IF EXISTS `messenger_friendships`;
CREATE TABLE `messenger_friendships` (
`user_one_id` int(10) unsigned NOT NULL,
`user_two_id` int(10) unsigned NOT NULL,
KEY `user_one_id` (`user_one_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- ----------------------------
-- Table structure for `messenger_requests`
-- ----------------------------
DROP TABLE IF EXISTS `messenger_requests`;
CREATE TABLE `messenger_requests` (
`from_id` int(10) unsigned NOT NULL,
`to_id` int(10) unsigned NOT NULL,
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;