Code: Select all
CREATE TABLE user_segment_score_batch (
user_id INT(10) UNSIGNED NOT NULL,
segment_id INT(6) UNSIGNED NOT NULL,
segment_score INT(10) UNSIGNED NOT NULL DEFAULT 0,
created_by INT(10) UNSIGNED NOT NULL DEFAULT 10 COMMENT 'BATCH process ID',
created_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (user_id, segment_id)
)
ENGINE = MEMORY
CHARACTER SET utf8
COLLATE utf8_general_ci;
Code: Select all
CREATE TABLE user_segment_score_batch (
user_id INT(10) UNSIGNED NOT NULL,
segment_id INT(6) UNSIGNED NOT NULL,
segment_score INT(10) UNSIGNED NOT NULL DEFAULT 0,
created_by INT(10) UNSIGNED NOT NULL DEFAULT 10 COMMENT 'BATCH process ID',
created_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (user_id, segment_id)
)
ENGINE = MEMORY
CHARACTER SET utf8
COLLATE utf8_general_ci;
I forget to fix it, I get kicked by corporate.
Any ideas?
Thx
Walter