   search_id BIGINT NOT NULL,
   name TEXT NOT NULL,
   domain VARCHAR(255)
-);
+) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
 
 CREATE INDEX ix__search_indexes__search_id ON search_indexes (search_id);
 ALTER TABLE search_indexes ADD CONSTRAINT fk__search_indexes__searches FOREIGN KEY (search_id) REFERENCES searches (search_id);

  search_stored_state_id BIGINT AUTO_INCREMENT PRIMARY KEY,
  search_id BIGINT NOT NULL,
  state_token VARCHAR(100) CHARACTER SET ascii NOT NULL
);

CREATE INDEX ix__search_stored_state__search_id ON search_stored_state (search_id);
ALTER TABLE search_stored_state ADD CONSTRAINT fk__search_stored_state__searches FOREIGN KEY (search_id) REFERENCES searches (search_id);

  search_id BIGINT AUTO_INCREMENT PRIMARY KEY,
  user_id BIGINT NOT NULL,
  search_type INT NOT NULL,
  title VARCHAR(255) NOT NULL,
  query_text TEXT NOT NULL,
  start_date DATETIME,
  end_date DATETIME,
