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

Added DbUserService in scala demo #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

pinootto
Copy link

This version is working with Play 2.0.4

MySql Database

Table USER

CREATE TABLE USER(
ID VARCHAR(100) NOT NULL,
PROVIDER VARCHAR(100),
FIRST_NAME VARCHAR(200),
LAST_NAME VARCHAR(200),
EMAIL VARCHAR(100),
PASSWORD VARCHAR(100));

Table TOKEN

CREATE TABLE TOKEN (
UUID VARCHAR(100) NOT NULL PRIMARY KEY,
EMAIL VARCHAR(100),
CREATION_TIME DATETIME,
EXPIRATION_TIME DATETIME,
IS_SIGN_UP BOOLEAN);

@gsdstr
Copy link

gsdstr commented Feb 12, 2013

For pg

CREATE TABLE user_play(
id text NOT NULL,
provider text,
first_name text,
last_name text,
email text,
password text);

CREATE TABLE token_play (
uuid text not null primary key,
email text,
creation_time timestamp,
expiration_time timestamp,
is_sign_up boolean,
CONSTRAINT token_play_key PRIMARY KEY (uuid));

@pinootto
Copy link
Author

Added the file "messages.it" with italian localization of messages

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

Successfully merging this pull request may close these issues.

None yet

2 participants