mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-28 18:38:17 +00:00
fix(mysql-setup): Change default charset to utf8mb4 (#3088)
This commit is contained in:
parent
b73d0ebb8b
commit
01bc0e8e4c
@ -1,5 +1,5 @@
|
||||
-- create datahub database
|
||||
CREATE DATABASE IF NOT EXISTS DATAHUB_DB_NAME;
|
||||
CREATE DATABASE IF NOT EXISTS DATAHUB_DB_NAME CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
USE DATAHUB_DB_NAME;
|
||||
|
||||
-- create metadata aspect table
|
||||
|
||||
@ -9,7 +9,7 @@ CREATE TABLE metadata_aspect_v2 (
|
||||
createdby VARCHAR(255) NOT NULL,
|
||||
createdfor VARCHAR(255),
|
||||
CONSTRAINT pk_metadata_aspect_v2 PRIMARY KEY (urn,aspect,version)
|
||||
);
|
||||
) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
|
||||
INSERT INTO metadata_aspect_v2 (urn, aspect, version, metadata, createdon, createdby) VALUES(
|
||||
'urn:li:corpuser:datahub',
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
"aspects": [
|
||||
{
|
||||
"com.linkedin.pegasus2avro.dataset.DatasetProperties": {
|
||||
"description": "This dataset shows hourly average border crossing duration for US-Canada and US-Mexico borders starting from 2020-03-16. Hourly trip volume is compared to average trip volume calculated between Feb.1st and Mar.15th, 2020 as a control group in each country.",
|
||||
"description": "This dataset shows hourly average border crossing duration for US-Canada and US-Mexico borders starting from 2020-03-16. Hourly trip volume is compared to average trip volume calculated between Feb.1st and Mar.15th, 2020 as a control group in each country. 테스트",
|
||||
"uri": null,
|
||||
"tags": [],
|
||||
"customProperties": {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user