/extremedating/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/extremedating/trunk

« back to all changes in this revision

Viewing changes to php/db.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-04-13 13:21:43 UTC
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: gustav.hartvigsson@gmail.com-20130413132143-zv1rvm6rspmwpb6f
Added a feild to the Useres database.
Started work on the login.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
/*
28
28
Database design:
29
 
Users(_loginName_, shadow, firstName, surName, city, eMail);
 
29
Users(_loginName_, shadow, firstName, surName, city, eMail, profileImage, userType);
30
30
Resturants(_id_, name, city, phoneNumber, theme);
31
31
# Theme is if it is, say, a pizzeria or a french resturant or something.
32
32
Interests(_interest_);
45
45
  city varchar(64) NOT NULL,
46
46
  eMail varchar(64) NOT NULL,
47
47
  profileImage blob,
 
48
  userType INTEGER,
48
49
  UNIQUE (loginName)
49
50
  );
50
51
");