   sync_status INTEGER(10) DEFAULT 0 NOT NULL,
   update_by   VARCHAR(128) NOT NULL,
   PRIMARY KEY (building_id),
-  FOREIGN KEY (place_id) REFERENCES place (place_id) ON UPDATE CASCADE,
-  FOREIGN KEY (update_by) REFERENCES user_profile (username) ON UPDATE CASCADE
+  FOREIGN KEY (place_id) REFERENCES place (place_id) ON UPDATE CASCADE
 );
 CREATE TABLE container_location (
   container_location_id INTEGER     NOT NULL PRIMARY KEY,

  update_by        VARCHAR(128) NOT NULL,
  PRIMARY KEY (place_id),
  FOREIGN KEY (subtype_id) REFERENCES place_subtype (subtype_id) ON UPDATE CASCADE,
  FOREIGN KEY (subdistrict_code) REFERENCES subdistrict (subdistrict_code) ON UPDATE CASCADE,
  FOREIGN KEY (update_by) REFERENCES user_profile (username) ON UPDATE CASCADE
);
CREATE TABLE place_subtype (
  subtype_id INTEGER      NOT NULL PRIMARY KEY,

  name               VARCHAR(128) NOT NULL,
  address            TEXT,
  subdistrict_code   VARCHAR(6)   NOT NULL,
  health_region_code VARCHAR(6)   NOT NULL
);
CREATE TABLE place (
  place_id         VARCHAR(36)  NOT NULL,
