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

Membuat schema database #11

Closed
supirman opened this issue Oct 25, 2016 · 2 comments
Closed

Membuat schema database #11

supirman opened this issue Oct 25, 2016 · 2 comments
Assignees

Comments

@supirman
Copy link
Collaborator

No description provided.

@supirman supirman assigned supirman and DienastyaGalih and unassigned supirman Oct 25, 2016
@DienastyaGalih
Copy link
Collaborator

CREATE TABLE ProfileUser (
id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
nama VARCHAR(100) NULL ,
pekerjaan VARCHAR(100) NULL ,
email VARCHAR(100) NULL ,
instansi VARCHAR(100) NULL ,
photoProfile VARCHAR(100) NULL ,
note VARCHAR(100) NULL ,
PRIMARY KEY(id));

CREATE TABLE SosmedAkun (
ProfileUser_id INTEGER UNSIGNED NOT NULL ,
link VARCHAR(100) NOT NULL AUTO_INCREMENT,
name VARCHAR(100) NULL ,
FOREIGN KEY(ProfileUser_id)
REFERENCES ProfileUser(id)
ON DELETE NO ACTION
ON UPDATE NO ACTION);

@DienastyaGalih
Copy link
Collaborator

image

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

No branches or pull requests

2 participants