WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'source varchar(30) NOT NULL DEFAULT 'manual',source_order_id bigint unsigned ...' at line 1]ALTER TABLE wp_gaz_ci_credits CHANGE COLUMN `id` id bigint unsigned NOT NULL AUTO_INCREMENT,source varchar(30) NOT NULL DEFAULT 'manual',source_order_id bigint unsigned NULL,source_item_id bigint unsigned NULL,source_product_id bigint unsigned NULL,source_variation_id bigint unsigned NULL,competition varchar(190) NOT NULL,season varchar(30) NOT NULL,team_name varchar(190) NOT NULL,team_external_id bigint unsigned NULL,category varchar(80) NOT NULL,quantity_total int unsigned NOT NULL DEFAULT 1,quantity_reserved int unsigned NOT NULL DEFAULT 0,quantity_used int unsigned NOT NULL DEFAULT 0,access_token_hash char(64) NOT NULL,access_token_hint varchar(16) NULL,expires_at datetime NULL,created_at datetime NOT NULL,updated_at datetime NOT NULL,PRIMARY KEY(id),UNIQUE KEY source_item_unique(source,source_order_id,source_item_id),KEY team_category(team_name,category),KEY token_hash(access_token_hash)
WordPress database error: [Invalid default value for 'id']ALTER TABLE wp_gaz_ci_credits ALTER COLUMN `id` SET DEFAULT 'manual'
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint unsigned NOT NULL,status varchar(40) NOT NULL DEFAULT 'in_progress',cu...' at line 1]ALTER TABLE wp_gaz_ci_registrations CHANGE COLUMN `id` id bigint unsigned NOT NULL AUTO_INCREMENT,credit_id bigint unsigned NOT NULL,status varchar(40) NOT NULL DEFAULT 'in_progress',current_step tinyint unsigned NOT NULL DEFAULT 1,prior_participation varchar(10) NULL,athlete_name varchar(190) NULL,athlete_birthdate date NULL,athlete_cpf varchar(20) NULL,school_name varchar(190) NULL,address_zip varchar(12) NULL,address_street varchar(190) NULL,address_number varchar(40) NULL,address_complement varchar(120) NULL,address_neighborhood varchar(120) NULL,address_city varchar(120) NULL,address_state varchar(2) NULL,responsible_name varchar(190) NULL,responsible_email varchar(190) NULL,responsible_phone varchar(40) NULL,athlete_doc_type varchar(30) NULL,athlete_doc_front text NULL,athlete_doc_back text NULL,athlete_birth_certificate text NULL,registration_token_hash char(64) NOT NULL,registration_token_hint varchar(16) NULL,submitted_at datetime NULL,created_at datetime NOT NULL,updated_at datetime NOT NULL,PRIMARY KEY(id),UNIQUE KEY registration_token(registration_token_hash),KEY credit_id(credit_id),KEY status(status)
WordPress database error: [Invalid default value for 'id']ALTER TABLE wp_gaz_ci_registrations ALTER COLUMN `id` SET DEFAULT 'in_progress'
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint unsigned NOT NULL,old_status varchar(40) NULL,new_status varchar(40) N...' at line 1]ALTER TABLE wp_gaz_ci_history CHANGE COLUMN `id` id bigint unsigned NOT NULL AUTO_INCREMENT,registration_id bigint unsigned NOT NULL,old_status varchar(40) NULL,new_status varchar(40) NOT NULL,note text NULL,actor_user_id bigint unsigned NULL,created_at datetime NOT NULL,PRIMARY KEY(id),KEY registration_id(registration_id),KEY created_at(created_at)