parser/internal/migrations/files/0005.sql
2018-06-19 15:27:31 +02:00

9 lines
152 B
SQL

ALTER TABLE meter
RENAME fortop_uid TO uid;
ALTER TABLE meter
ADD source smallint NOT NULL DEFAULT 1;
ALTER TABLE meter
ALTER source DROP DEFAULT;