diff options
Diffstat (limited to 'vnfmarket-be/deployment/src/main/release/init/marketplace_tables_mysql.sql')
-rw-r--r-- | vnfmarket-be/deployment/src/main/release/init/marketplace_tables_mysql.sql | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/vnfmarket-be/deployment/src/main/release/init/marketplace_tables_mysql.sql b/vnfmarket-be/deployment/src/main/release/init/marketplace_tables_mysql.sql new file mode 100644 index 00000000..6255256d --- /dev/null +++ b/vnfmarket-be/deployment/src/main/release/init/marketplace_tables_mysql.sql @@ -0,0 +1,24 @@ +CREATE DATABASE marketplaceDB; + +USE marketplaceDB; + +DROP TABLE IF EXISTS CSAR_PACKAGE_TABLE; + +CREATE TABLE CSAR_PACKAGE_TABLE ( + CSARID VARCHAR(200) NOT NULL, + DOWNLOADURI VARCHAR(200) NULL, + REPORT VARCHAR(200) NULL, + SIZE VARCHAR(100) NULL, + FORMAT VARCHAR(100) NULL, + CREATETIME VARCHAR(100) NULL, + DELETIONPENDING VARCHAR(100) NULL, + MODIFYTIME VARCHAR(100) NULL, + SHORTDESC TEXT NULL, + NAME VARCHAR(100) NULL, + VERSION VARCHAR(20) NULL, + PROVIDER VARCHAR(300) NULL, + TYPE VARCHAR(300) NULL, + DETAILS TEXT NULL, + REMARKS TEXT NULL, + DOWNLOADCOUNT INT NULL +); |