BEGIN;

ALTER TABLE items DROP COLUMN owner_id ;
ALTER TABLE locations DROP COLUMN owner_id;
ALTER TABLE groups DROP COLUMN owner_id;
ALTER TABLE categories DROP COLUMN owner_id;

DROP TABLE IF EXISTS users;

COMMIT;