Skip to content

Instantly share code, notes, and snippets.

@DiegoPino
Created April 6, 2018 20:22
Show Gist options
  • Save DiegoPino/825d33da1a376b72cf0b0c06ff66bed1 to your computer and use it in GitHub Desktop.
Save DiegoPino/825d33da1a376b72cf0b0c06ff66bed1 to your computer and use it in GitHub Desktop.
Crayfish schema
CREATE TABLE IF NOT EXISTS {{ crayfish_db_name }}.Gemini (
id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
uuid VARCHAR(36) NOT NULL UNIQUE,
drupal VARCHAR(2048) NOT NULL,
drupal_sha512 VARCHAR(128) NOT NULL UNIQUE,
fedora VARCHAR(2048) NOT NULL,
fedora_sha512 VARCHAR(128) NOT NULL UNIQUE,
UNIQUE KEY (drupal_sha512, fedora_sha512)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment