Skip to content

Commit

Permalink
updates user table
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophileZT committed Nov 13, 2023
1 parent f2c3d6c commit 54db378
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion createtable.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CREATE TABLE IF NOT EXISTS USER(
BirthDate DATETIME NOT NULL,
Email VARCHAR(45) NOT NULL UNIQUE,
UserType ENUM('Helper','Validator','Needer'),
Password VARCHAR(45) NOT NULL,
Password VARCHAR(45) NOT NULL
);

CREATE TABLE IF NOT EXISTS MISSIONS(
Expand Down
5 changes: 4 additions & 1 deletion src/main/java/controller/Controller.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package controller;
import java.sql.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;

public class Controller {
Class.forName("com.mysql.jdbc.Driver");
Expand Down

0 comments on commit 54db378

Please sign in to comment.