Ajouter university_db
This commit is contained in:
9
university_db
Normal file
9
university_db
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
CREATE TABLE users (
|
||||||
|
id INT PRIMARY KEY AUTO_INCREMENT,
|
||||||
|
username VARCHAR(50) UNIQUE,
|
||||||
|
password VARCHAR(50),
|
||||||
|
role ENUM('Admin', 'Prof', 'Student')
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO users (username, password, role) VALUES ('admin1', '1234', 'Admin');
|
||||||
Reference in New Issue
Block a user