--liquibase formatted sql

--changeset patrick.thomlinson:add-address-book
CREATE TABLE `address_book` (
  `id` INT NOT NULL AUTO_INCREMENT,
  `address` JSON NULL,
  `organization_id` INT NULL,
  `group_id` INT NULL,
  `location_id` INT NULL,
  `timestamp` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`));
