DashBot/db/migrations/20160823170701_points.sql

12 lines
207 B
SQL

-- +micrate Up
CREATE TABLE points (
id SERIAL PRIMARY KEY,
assigned_to TEXT NOT NULL,
assigned_by TEXT NOT NULL,
type TEXT NOT NULL,
created_at TIMESTAMP
);
-- +micrate Down
DROP TABLE messages;