Skip to content

Commit

Permalink
Update create_db.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
YehudaEi authored Jul 28, 2021
1 parent 176f384 commit 7d9cced
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions create_db.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
CREATE TABLE `mainTable` (
`id` INT NOT NULL AUTO_INCREMENT ,
`path` TEXT NOT NULL ,
`link` TEXT NOT NULL ,
`password` TEXT NOT NULL ,
`deleted` BOOLEAN NOT NULL ,
PRIMARY KEY (`id`)) ENGINE = InnoDB;
CREATE TABLE `mainTable` (
`id` int NOT NULL AUTO_INCREMENT,
`path` text NOT NULL,
`link` text NOT NULL,
`password` text NOT NULL,
`ip` text,
`create_timestamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`deleted` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

CREATE TABLE `clicks` (
`id` int NOT NULL AUTO_INCREMENT,
Expand Down

0 comments on commit 7d9cced

Please sign in to comment.