This commit is contained in:
mpabi 2024-10-10 12:53:27 +02:00
parent 0cbf474844
commit b5aed0abdd
3 changed files with 28 additions and 0 deletions

BIN
sql/.init.sql.swp Normal file

Binary file not shown.

14
sql/init.sql Normal file
View File

@ -0,0 +1,14 @@
CREATE TABLE Persons (
PersonID int primary key auto_increment,
LastName varchar(255),
FirstName varchar(255),
Email varchar(255),
Subject varchar(255),
Path varchar(255)
);
INSERT INTO Persons (LastName, FirstName, Email, Subject, Path)
VALUES
('Smith', 'John', 'john.smith@example.com', 'Math', '/path/to/johnsmith'),
('Doe', 'Jane', 'jane.doe@example.com', 'Physics', '/path/to/janedoe'),
('Brown', 'Charlie', 'charlie.brown@example.com', 'Chemistry', '/path/to/charliebrown');

14
sql/sql.sql Normal file
View File

@ -0,0 +1,14 @@
CREATE TABLE Persons (
PersonID int primary key auto_increment,
LastName varchar(255),
FirstName varchar(255),
Email varchar(255),
Subject varchar(255),
Path varchar(255)
);
INSERT INTO Persons (LastName, FirstName, Email, Subject, Path)
VALUES
('Smith', 'John', 'john.smith@example.com', 'Math', '/path/to/johnsmith'),
('Doe', 'Jane', 'jane.doe@example.com', 'Physics', '/path/to/janedoe'),
('Brown', 'Charlie', 'charlie.brown@example.com', 'Chemistry', '/path/to/charliebrown');