ea_area
CREATE TABLE IF NOT EXISTS EA_AREA (
ID VARCHAR(36) NOT NULL,
NAME VARCHAR(50) NULL,
CODE VARCHAR(50) NULL,
REMARKS VARCHAR(200) NULL,
VALID_FLAG INT NOT NULL,
VALID_DATE_FROM DATETIME NULL,
VALID_DATE_TO DATETIME NULL,
DISPORDER INT NULL,
EDIT_FLAG INT NOT NULL,
DELETE_FLAG INT NOT NULL,
CREATE_TIME DATETIME NULL,
CREATE_USER_ID VARCHAR(36) NULL,
MODIFY_TIME DATETIME NULL,
MODIFY_USER_ID VARCHAR(36) NULL
)ENGINE=INNODB;
ea_country
CREATE TABLE IF NOT EXISTS EA_COUNTRY (
ID VARCHAR(36) NOT NULL,
NAME VARCHAR(50) NULL,
CODE VARCHAR(50) NULL,
SHORT_NAME VARCHAR(50) NULL,
AREA_ID VARCHAR(36) NULL,
REMARKS VARCHAR(200) NULL,
VALID_FLAG INT NOT NULL,
VALID_DATE_FROM DATETIME NULL,
VALID_DATE_TO DATETIME NULL,
DISPORDER INT NULL,
EDIT_FLAG INT NOT NULL,
DELETE_FLAG INT NOT NULL,
CREATE_TIME DATETIME NULL,
CREATE_USER_ID VARCHAR(36) NULL,
MODIFY_TIME DATETIME NULL,
MODIFY_USER_ID VARCHAR(36) NULL
)ENGINE=INNODB;
ea_range
CREATE TABLE IF NOT EXISTS EA_RANGE (
ID VARCHAR(36) NOT NULL,
NAME VARCHAR(50) NULL,
CODE VARCHAR(50) NULL,
AREA_ID VARCHAR(36) NULL,
COUNTRY_ID VARCHAR(36) NULL,
REMARKS VARCHAR(200) NULL,
VALID_FLAG INT NOT NULL,
VALID_DATE_FROM DATETIME NULL,
VALID_DATE_TO DATETIME NULL,
DISPORDER INT NULL,
EDIT_FLAG INT NOT NULL,
DELETE_FLAG INT NOT NULL,
CREATE_TIME DATETIME NULL,
CREATE_USER_ID VARCHAR(36) NULL,
MODIFY_TIME DATETIME NULL,
MODIFY_USER_ID VARCHAR(36) NULL
)ENGINE=INNODB;
ea_province
CREATE TABLE IF NOT EXISTS EA_PROVINCE (
ID VARCHAR(36) NOT NULL,
NAME VARCHAR(50) NULL,
CODE VARCHAR(50) NULL,
SHORT_NAME VARCHAR(50) NULL,
AREA_ID VARCHAR(36) NULL,
COUNTRY_ID VARCHAR(36) NULL,
RANGE_ID VARCHAR(36) NULL,
REMARKS VARCHAR(200) NULL,
VALID_FLAG INT NOT NULL,
VALID_DATE_FROM DATETIME NULL,
VALID_DATE_TO DATETIME NULL,
DISPORDER INT NULL,
EDIT_FLAG INT NOT NULL,
DELETE_FLAG INT NOT NULL,
CREATE_TIME DATETIME NULL,
CREATE_USER_ID VARCHAR(36) NULL,
MODIFY_TIME DATETIME NULL,
MODIFY_USER_ID VARCHAR(36) NULL,
POP FLOAT NULL
)ENGINE=INNODB;
ea_city
CREATE TABLE IF NOT EXISTS EA_CITY (
ID VARCHAR(36) NOT NULL,
NAME VARCHAR(50) NULL,
CODE VARCHAR(50) NULL,
SHORT_NAME VARCHAR(50) NULL,
AREA_ID VARCHAR(36) NULL,
COUNTRY_ID VARCHAR(36) NULL,
RANGE_ID VARCHAR(36) NULL,
PROVINCE_ID VARCHAR(36) NULL,
LONGITUDE VARCHAR(50) NULL,
LATITUDE VARCHAR(50) NULL,
REMARKS VARCHAR(200) NULL,
VALID_FLAG INT NOT NULL,
VALID_DATE_FROM DATETIME NULL,
VALID_DATE_TO DATETIME NULL,
DISPORDER INT NULL,
EDIT_FLAG INT NOT NULL,
DELETE_FLAG INT NOT NULL,
CREATE_TIME DATETIME NULL,
CREATE_USER_ID VARCHAR(36) NULL,
MODIFY_TIME DATETIME NULL,
MODIFY_USER_ID VARCHAR(36) NULL,
PROVINCIAL_CAPITAL INT NULL
)ENGINE=INNODB;