Closed imadbakir closed 8 years ago
Hi, It seems there is a missing column in the github db schema,To fix this issue, add "SocioalLogin" column in your "user" table or drop "user" table and create again with below schema. we will update our schema in next release.
CREATE TABLE
user(
IdBINARY(16) NOT NULL,
UserNameVARCHAR(350) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
EmailIdVARCHAR(350) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
ProfileUrlVARCHAR(350) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
AccountTypeVARCHAR(350) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
CreateDateDATETIME NULL DEFAULT NULL,
ExpiryDateDATETIME NULL DEFAULT NULL,
UserStatusTINYINT(1) NULL DEFAULT NULL COMMENT '0 = InActive,1 = Active|| unpaid,2=Active||paid',
PasswordVARCHAR(350) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
TimeZoneVARCHAR(350) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
ChangePasswordKeyVARCHAR(100) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
IsKeyUsedTINYINT(1) NULL DEFAULT '0',
PaymentStatusVARCHAR(6) NULL DEFAULT 'unpaid' COMMENT 'default value = unpaid' COLLATE 'utf8_unicode_ci',
ActivationStatusVARCHAR(5) NULL DEFAULT '0' COMMENT '0 = InActive,1 = Active' COLLATE 'utf8_unicode_ci',
CouponCodeVARCHAR(350) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
ReferenceStatusVARCHAR(5) NULL DEFAULT '0' COLLATE 'utf8_unicode_ci',
RefereeStatusVARCHAR(5) NULL DEFAULT '0' COLLATE 'utf8_unicode_ci',
UserTypeVARCHAR(350) NULL DEFAULT 'user' COMMENT 'default value=user' COLLATE 'utf8_unicode_ci',
ChangeEmailKeyVARCHAR(100) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
IsEmailKeyUsedTINYINT(4) NULL DEFAULT '0',
EwalletVARCHAR(50) NULL DEFAULT '0' COLLATE 'utf8_unicode_ci',
UserCodeVARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
SocialLoginVARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
LastLoginTimeDATETIME NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (
Id) ) COLLATE='utf8_unicode_ci' ENGINE=InnoDB ;
Hi, thanks a lot for the dump, it worked, now am stuck somewhere else, I will be waiting for the next release, Cool app, good work guys.
@imadbakir , thanks, everything working Ok? I will be marking this as closed if you are up and running correctly.
Hi, I'm trying to install this from the latest version, DB connection is fine, imported everything, when I try to register I get "Email already exists", and my log file points to some kind of "uknown field" so what is the problem? is there a missing column in users table?