Created
December 19, 2014 11:24
-
-
Save bdelespierre/d84e16ad3cec72e7fb97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE IF NOT EXISTS _EL_INFORME_DE_LA_MUERTE ( | |
CAMPAIGNID INT UNSIGNED NOT NULL, | |
ADASSETID INT UNSIGNED NOT NULL, | |
COUNTRY_CODE CHAR(2) NOT NULL DEFAULT '', | |
CITY_CODE VARCHAR(50) NOT NULL DEFAULT '', | |
TYPE ENUM('DISPLAY','CLICK','SALE','POST_VIEW','POST_CLICK'), | |
AMOUNT INT UNSIGNED NOT NULL DEFAULT 0, | |
DATE_SAVE DATE, | |
PRIMARY KEY (CAMPAIGNID, ADASSETID, TYPE, DATE_SAVE) | |
) ENGINE=MyISAM; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment