topfreegames/khan

View on GitHub
db/migrations/20210323185959_CreateEncryptionTable.sql

Summary

Maintainability
Test Coverage

-- +goose Up
-- SQL in section 'Up' is executed when this migration is applied
CREATE TABLE IF NOT EXISTS encrypted_players (
    player_id integer PRIMARY KEY REFERENCES players (id)
);

-- +goose Down
-- SQL section 'Down' is executed when this migration is rolled back
DROP TABLE IF EXISTS encrypted_players;