hitman/migrations/20240331234446_slugs.up.sql

8 lines
219 B
MySQL
Raw Normal View History

2024-04-01 00:05:44 +00:00
create table if not exists slugs (
id integer primary key,
slug text not null unique,
created_at timestamp not null default CURRENT_TIMESTAMP
);
create index if not exists created_slugs_dex on slugs(created_at);