mirror of
https://github.com/nx-bat/discordbot-ng.git
synced 2026-09-22 02:19:09 -04:00
10 lines
531 B
SQL
10 lines
531 B
SQL
--------------------------------------------------------------------------------
|
|
-- Up
|
|
--------------------------------------------------------------------------------
|
|
ALTER TABLE messages ADD author_id_hash TEXT NOT NULL DEFAULT '';
|
|
CREATE INDEX IF NOT EXISTS index_author_id_hash ON messages (author_id_hash);
|
|
|
|
--------------------------------------------------------------------------------
|
|
-- Down
|
|
--------------------------------------------------------------------------------
|
|
ALTER TABLE messages DROP COLUMN author_id_hash; |