add links

This commit is contained in:
Romulus21
2024-11-06 15:55:35 +01:00
parent bd48522b66
commit c8c35bde09
6 changed files with 148 additions and 13 deletions

View File

@@ -0,0 +1 @@
DROP TABLE IF EXISTS `links`;

View File

@@ -0,0 +1,7 @@
CREATE TABLE IF NOT EXISTS links (
id BIGINT UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
name TEXT NOT NULL,
link TEXT NOT NULL,
position BIGINT NOT NULL DEFAULT 1,
created_at DATETIME NOT NULL
);