diff --git a/mysql/sql/init.sql b/mysql/sql/init.sql index 5c88a66..69efba1 100644 --- a/mysql/sql/init.sql +++ b/mysql/sql/init.sql @@ -25,7 +25,7 @@ CREATE TABLE guestbook ( */ CREATE TABLE teams ( - teamid INT AUTO_INCREMENT, + teamid INT UNSIGNED AUTO_INCREMENT, team_name VARCHAR(200) NOT NULL, write_permission BOOLEAN, PRIMARY KEY (teamid) @@ -86,7 +86,7 @@ CREATE TABLE tasks ( task_status VARCHAR(64) NOT NULL, -- This should be Waiting for delivery, Delivered and waiting for acceptance, Delivery has been accepted, awaiting payment, Payment for delivery is done or Declined delivery, please revise feedback VARCHAR(500) NULL, PRIMARY KEY (taskid), - FOREIGN KEY (teamid) REFERENCES teams(teamid) + FOREIGN KEY (teamid) REFERENCES teams(teamid), FOREIGN KEY (projectid) REFERENCES projects(projectid) ); diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index dac92c7..0000000 --- a/templates/index.html +++ /dev/null @@ -1,34 +0,0 @@ -$def with (login_form, friends) - - - Friends - - - - - - - -

Friends

- - Friends - -

Login, or become a friend!

- -
- $:login_form.render() -
- - - $if session.username: -

Logged in as $session.username

- Logout - -

Registered friends:

- - - -