Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql script for backend #3

Open
tenderitaf opened this issue Dec 14, 2017 · 2 comments
Open

sql script for backend #3

tenderitaf opened this issue Dec 14, 2017 · 2 comments

Comments

@tenderitaf
Copy link

In installExampleAppsBE.sh sql schemas under TalosAndroid are used to deploy DBs and not the ones under TalosCloud/sql_scripts, is this the intent or an issue ?
example : mysql -u root -p < $LOCAL_PATH/TalosAndroid/AppSQLBackendScripts/AVAApp.sql

Yassine

@lubux
Copy link
Member

lubux commented Dec 15, 2017

Yes, these are the database scripts for the corresponding apps.

@tenderitaf
Copy link
Author

tenderitaf commented Dec 15, 2017

There is something wrong here, in FitApp for instance.
To register a new user this function is called public static boolean registerUser(User user) which is expects an id,mail and pk whereas FitbitApp.sql has only id and mail causing the backend to vomit an SQL exception.

This yet another exception when I try to run the fitbit app just while syncing the data from fitbit
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'TalosFitbit.Share' doesn't exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants