Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: typo (#2261)

p0nya91790735bcd
diff --git a/api/database.go b/api/database.go
index 3ca3d6fa9c..2d7e9aea74 100644
--- a/api/database.go
+++ b/api/database.go
@@ -7,8 +7,8 @@ import (
const (
// AllDatabaseName is the wild expression for all databases.
AllDatabaseName = "*"
- // DefaultCharactorSetName is the default character set.
- DefaultCharactorSetName = "utf8mb4"
+ // DefaultCharacterSetName is the default character set.
+ DefaultCharacterSetName = "utf8mb4"
// DefaultCollationName is the default collation name.
// Use utf8mb4_general_ci instead of the new MySQL 8.0.1 default utf8mb4_0900_ai_ci
// because the former is compatible with more other MySQL flavors (e.g. MariaDB).
diff --git a/store/instance.go b/store/instance.go
index db76b73c66..37bef1edfc 100644
--- a/store/instance.go
+++ b/store/instance.go
@@ -356,7 +356,7 @@ func (s *Store) createInstanceRaw(ctx context.Context, create *api.InstanceCreat
InstanceID: instance.ID,
EnvironmentID: instance.EnvironmentID,
Name: api.AllDatabaseName,
- CharacterSet: api.DefaultCharactorSetName,
+ CharacterSet: api.DefaultCharacterSetName,
Collation: api.DefaultCollationName,
}
allDatabase, err := s.createDatabaseRawTx(ctx, tx.PTx, databaseCreate)
diff --git a/store/migration/dev/LATEST.sql b/store/migration/dev/LATEST.sql
index 58b235db47..270cc44aac 100644
--- a/store/migration/dev/LATEST.sql
+++ b/store/migration/dev/LATEST.sql
@@ -917,7 +917,7 @@ CREATE TABLE repository (
branch_filter TEXT NOT NULL DEFAULT '',
-- Base working directory we are interested.
base_directory TEXT NOT NULL DEFAULT '',
- -- The file path template for matching the commited migration script.
+ -- The file path template for matching the committed migration script.
file_path_template TEXT NOT NULL DEFAULT '',
-- The file path template for storing the latest schema auto-generated by Bytebase after migration.
-- If empty, then Bytebase won't auto generate it.
diff --git a/store/migration/prod/1.0/0000__initial_schema.sql b/store/migration/prod/1.0/0000__initial_schema.sql
index 04b5bf07f7..30472c5297 100644
--- a/store/migration/prod/1.0/0000__initial_schema.sql
+++ b/store/migration/prod/1.0/0000__initial_schema.sql
@@ -859,7 +859,7 @@ CREATE TABLE repository (
branch_filter TEXT NOT NULL DEFAULT '',
-- Base working directory we are interested.
base_directory TEXT NOT NULL DEFAULT '',
- -- The file path template for matching the commited migration script.
+ -- The file path template for matching the committed migration script.
file_path_template TEXT NOT NULL DEFAULT '',
-- The file path template for storing the latest schema auto-generated by Bytebase after migration.
-- If empty, then Bytebase won't auto generate it.