We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Vokuro: Difference between "banned" and "suspended"

Hello,

Is there any difference between the database columns "banned" and "suspended" in the vokuro project? Don't they both have the same purpose? And if yes, why do both exist?

Thank you

Ps: Here is the database scheme for vokuro

CREATE TABLE IF NOT EXISTS `users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `password` char(60) NOT NULL,
  `mustChangePassword` char(1) DEFAULT NULL,
  `profilesId` int(10) unsigned NOT NULL,
  `banned` char(1) NOT NULL,
  `suspended` char(1) NOT NULL,
  `active` char(1) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `profilesId` (`profilesId`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;


43.9k

Hi,

I don't know exactly, but I can imagine that your account can be suspended because you didn't pay your annual fees and that your account can be banned because you don't believe in god (or whatever goog/bad reason)