[
  {
    "type": "alter_table",
    "description": "Make employeeId nullable in daybook_whiteboard_items (sticky notes can be anonymous)",
    "database": "{{store}}",
    "check_query": "SELECT IS_NULLABLE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'daybook_whiteboard_items' AND COLUMN_NAME = 'employeeId' AND IS_NULLABLE = 'YES'",
    "sql": "ALTER TABLE `daybook_whiteboard_items` MODIFY `employeeId` INT(10) UNSIGNED NULL COMMENT 'Employee who created the item (NULL for anonymous)'"
  }
]
