Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Demo data improvement
天舟8a64f2de0028
diff --git a/store/seed/demo/0030_project.sql b/store/seed/demo/0030_project.sqlindex 8cfe0bed7a..964e482b46 100644--- a/store/seed/demo/0030_project.sql+++ b/store/seed/demo/0030_project.sql@@ -12,8 +12,8 @@ VALUES3001,101,101,- 'project 1',- 'PRJ1',+ 'BBBlog',+ 'BLG','VCS');diff --git a/store/seed/demo/0050_environment.sql b/store/seed/demo/0050_environment.sqlindex f9d7a609dc..d98e34ae2f 100644--- a/store/seed/demo/0050_environment.sql+++ b/store/seed/demo/0050_environment.sql@@ -11,7 +11,7 @@ VALUES5001,101,101,- 'Sandbox A',+ 'Dev',0);diff --git a/store/seed/demo/0060_instance.sql b/store/seed/demo/0060_instance.sqlindex 1d02f15000..308d8183e5 100644--- a/store/seed/demo/0060_instance.sql+++ b/store/seed/demo/0060_instance.sql@@ -6,9 +6,9 @@ INSERT INTOenvironment_id,name,`engine`,- external_link,host,- port+ port,+ external_link)VALUES(@@ -16,11 +16,11 @@ VALUES101,101,5001,- 'MySQL sandbox',+ 'RDS dev','MYSQL',- 'localhost',- '127.0.0.1',- '33060'+ 'bytebase-demo-dev-mysql8.cerr43rttews.us-west-1.rds.amazonaws.com',+ '3306',+ 'https://us-west-1.console.aws.amazon.com/rds/home?region=us-west-1#database:id=bytebase-demo-dev-mysql8;is-cluster=false');INSERT INTO@@ -31,9 +31,9 @@ INSERT INTOenvironment_id,name,`engine`,- external_link,host,- port+ port,+ external_link)VALUES(@@ -41,11 +41,11 @@ VALUES101,101,5002,- 'MySQL integration',+ 'RDS integration','MYSQL',- 'localhost',- '127.0.0.1',- '33060'+ 'bytebase-demo-integration-mysql8.cerr43rttews.us-west-1.rds.amazonaws.com',+ '3306',+ 'https://us-west-1.console.aws.amazon.com/rds/home?region=us-west-1#database:id=bytebase-demo-integration-mysql8;is-cluster=false');INSERT INTO@@ -56,9 +56,9 @@ INSERT INTOenvironment_id,name,`engine`,- external_link,host,- port+ port,+ external_link)VALUES(@@ -66,11 +66,11 @@ VALUES101,101,5003,- 'MySQL staging',+ 'RDS staging','MYSQL',- 'localhost',- '127.0.0.1',- '33060'+ 'bytebase-demo-staging-mysql57.cerr43rttews.us-west-1.rds.amazonaws.com',+ '3306',+ 'https://us-west-1.console.aws.amazon.com/rds/home?region=us-west-1#database:id=bytebase-demo-staging-mysql57;is-cluster=false');INSERT INTO@@ -81,9 +81,9 @@ INSERT INTOenvironment_id,name,`engine`,- external_link,host,- port+ port,+ external_link)VALUES(@@ -91,34 +91,9 @@ VALUES101,101,5004,- 'MySQL prod',+ 'RDS prod','MYSQL',- 'localhost',- '127.0.0.1',- '33060'- );--INSERT INTO- instance (- id,- creator_id,- updater_id,- environment_id,- name,- `engine`,- external_link,- host,- port- )-VALUES- (- 6005,- 101,- 101,- 5004,- 'AWS RDS prod',- 'MYSQL',- 'aws.com',- 'rds.com',- '5678'+ 'bytebase-demo-prod-mysql57.cerr43rttews.us-west-1.rds.amazonaws.com',+ '3306',+ 'https://us-west-1.console.aws.amazon.com/rds/home?region=us-west-1#database:id=bytebase-demo-prod-mysql57;is-cluster=false');\ No newline at end of filediff --git a/store/seed/demo/0070_db.sql b/store/seed/demo/0070_db.sqlindex 0d1a60b2c6..8516f86eee 100644--- a/store/seed/demo/0070_db.sql+++ b/store/seed/demo/0070_db.sql@@ -49,11 +49,11 @@ VALUES101,6001,3001,- 'sandboxdb1',+ 'bbblog','utf8mb4','utf8mb4_0900_ai_ci','OK',- 0,+ 1624558090,'');@@ -493,34 +493,4 @@ VALUES'OK',0,''- );---- Database for prod environment instance 6005-INSERT INTO- db (- id,- creator_id,- updater_id,- instance_id,- project_id,- name,- character_set,- `collation`,- sync_status,- last_successful_sync_ts,- fingerprint- )-VALUES- (- 7018,- 101,- 101,- 6005,- 1,- '*',- 'utf8mb4',- 'utf8mb4_0900_ai_ci',- 'OK',- 0,- '');\ No newline at end of filediff --git a/store/seed/demo/0080_data_source.sql b/store/seed/demo/0080_data_source.sqlindex 4d3c7564e9..a325102d4a 100644--- a/store/seed/demo/0080_data_source.sql+++ b/store/seed/demo/0080_data_source.sql@@ -19,8 +19,8 @@ VALUES7001,'Admin data source','ADMIN',- 'root',- 'root'+ 'admin',+ 'Dev12345');INSERT INTO@@ -44,8 +44,8 @@ VALUES7005,'Admin data source','ADMIN',- 'root',- 'root'+ 'admin',+ 'Integration12345');INSERT INTO@@ -69,8 +69,8 @@ VALUES7009,'Admin data source','ADMIN',- 'root',- 'root'+ 'admin',+ 'Staging12345');INSERT INTO@@ -94,31 +94,6 @@ VALUES7013,'Admin data source','ADMIN',- 'root',- 'root'- );--INSERT INTO- data_source (- id,- creator_id,- updater_id,- instance_id,- database_id,- name,- TYPE,- username,- PASSWORD- )-VALUES- (- 8005,- 1,- 1,- 6005,- 7017,- 'Admin data source',- 'ADMIN',- 'admin5',- 'adminpwd5'+ 'admin',+ 'Prod12345');\ No newline at end of filediff --git a/store/seed/demo/0160_vcs.sql b/store/seed/demo/0160_vcs.sqlindex 70690cb4b1..3f1df600e5 100644--- a/store/seed/demo/0160_vcs.sql+++ b/store/seed/demo/0160_vcs.sql@@ -18,41 +18,10 @@ VALUES16001,101,101,- 'GitLab Bytebase',+ 'bytebase.gitlab.com','GITLAB_SELF_HOST',- 'http://gitlab.bytebase.com',- 'http://gitlab.bytebase.com/api/v4',- '0d1f706e68e3bf22be6712752726a3eec2a9684ec098a9695015f484165ed922',- '77deb508304dd73fa9b6868d319e1832889c6fc8ea087f400e6efe35d7c6dd87',- 'a6e1d552205a64c41afd377dedff745fd38a41733b2c780a506ad593ea42d27b',- 0,- 'e4b22027c3ef1847a898e2f8ef1e28056d286bc23bdd11a235711e434e447ab8'- );--INSERT INTO- vcs (- id,- creator_id,- updater_id,- name,- `type`,- instance_url,- api_url,- application_id,- secret,- access_token,- expires_ts,- refresh_token- )-VALUES- (- 16002,- 101,- 101,- 'GitLab Bytebase2',- 'GITLAB_SELF_HOST',- 'http://gitlab.bytebase.com',- 'http://gitlab.bytebase.com/api/v4',+ 'https://gitlab.bytebase.com',+ 'https://gitlab.bytebase.com/api/v4','0d1f706e68e3bf22be6712752726a3eec2a9684ec098a9695015f484165ed922','77deb508304dd73fa9b6868d319e1832889c6fc8ea087f400e6efe35d7c6dd87','a6e1d552205a64c41afd377dedff745fd38a41733b2c780a506ad593ea42d27b',diff --git a/store/seed/demo/0170_repo.sql b/store/seed/demo/0170_repo.sqlindex f733c0e1a1..d74d9a0458 100644--- a/store/seed/demo/0170_repo.sql+++ b/store/seed/demo/0170_repo.sql@@ -22,15 +22,15 @@ VALUES101,16001,3001,- "project1",- "bytebase-test/project1",- "http://gitlab.bytebase.com/bytebase-test/project1",+ "Bytebase Blog",+ "bytebase-demo/bbblog",+ "http://gitlab.bytebase.com/bytebase-demo/bbblog","bytebase","master",- -- Refers to the bytebase-test/project1- "7",- -- Refers to the webhook in bytebase-test/project1- "5",- "8368dde4-e352-4696-9fef-26bd3af6ec40",- "VFN2lgKDRLWjJ25B"+ -- Refers to the bytebase-demo/bbblog+ "13",+ -- Refers to the webhook in bytebase-demo/bbblog+ "59",+ "5effe17f-947a-4eff-b0b5-244e26c5cd68",+ "mQqrGRRnAuuL59F8");\ No newline at end of file