10 lines
226 B
MySQL
10 lines
226 B
MySQL
|
|
||
|
-- +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
|
||
|
|