SamTV12345-PodFetch/migrations/postgres/2023-12-28-114101_user_api_key/up.sql

3 lines
123 B
SQL

-- Your SQL goes here
ALTER TABLE users ADD COLUMN api_key VARCHAR(255);
CREATE INDEX users_api_key_idx ON users (api_key);