Link shortener in Rust. https://s.42l.fr/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

8 lines
216 B

CREATE TABLE links (
id INTEGER PRIMARY KEY AUTOINCREMENT,
url_from VARCHAR NOT NULL,
url_to VARCHAR NOT NULL,
key BLOB NOT NULL,
time TIMESTAMP NOT NULL,
clicks INTEGER NOT NULL DEFAULT 0
);