a pass on some explicit encode calls that are obviously wrong in python3; some may...
[plcapi.git] / migrations / 101-down-leases.sql
1 -- revert cleanup on node_types
2 INSERT INTO node_types VALUES ('dummynet');
3
4 UPDATE nodes SET node_type='regular' WHERE node_type='reservable';
5 DELETE FROM node_types WHERE node_type='reservable';
6
7 -- drop new tables
8 DROP VIEW view_leases;
9 DROP VIEW view_all_leases;
10 DROP TABLE leases;
11
12 DROP FUNCTION IF EXISTS overlapping_trigger();
13
14 --------------------------------------------------
15 UPDATE plc_db_version SET subversion = 100;