transmet/db/migrations/20150509095706_news_default...

10 lines
226 B
MySQL
Raw Normal View History

-- +goose Up
-- SQL in section 'Up' is executed when this migration is applied
ALTER TABLE news ALTER COLUMN timestamp SET DEFAULT now();
-- +goose Down
-- SQL section 'Down' is executed when this migration is rolled back