hiling_go/db/migrations/000002_add_approvedby_in_locations_table.up.sql

2 lines
130 B
SQL

ALTER TABLE locations ADD column approved_by int references "users"("id");
ALTER TABLE locations ADD column approved_at timestamp;