[Rt-commit] rt branch, 4.6/log-view-db-config-change-history, repushed
Aaron Trevena
ast at bestpractical.com
Fri Feb 14 09:15:08 EST 2020
The branch 4.6/log-view-db-config-change-history was deleted and repushed:
was 3c79f1346988d7a5be0ce5dac92138469b002302
now 9a3386b6274453585987412442d471b3a109f14a
1: b5ddf186d ! 1: a624e2b4a Schema updates for tracking db configuration changes in transactions
@@ -109,7 +109,7 @@
PRIMARY KEY (id)
@@
PRIMARY KEY (id)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+ ) ENGINE=InnoDB CHARACTER SET utf8mb4;
-CREATE UNIQUE INDEX Configurations1 ON Configurations (Name);
-CREATE INDEX Configurations2 ON Configurations (Disabled);
@@ -127,9 +127,6 @@
-CREATE INDEX Configurations2 ON Configurations (Disabled);
+CREATE INDEX Configurations1 ON Configurations (LOWER(Name), Disabled);
+
-+-- Add transaction support for new config in database feature
-+ALTER TABLE Transactions MODIFY Field VARCHAR2(255);
-+
+
diff --git a/etc/upgrade/4.5.1/schema.Pg b/etc/upgrade/4.5.1/schema.Pg
@@ -143,9 +140,6 @@
-CREATE INDEX Configurations2 ON Configurations (Disabled);
+CREATE INDEX Configurations1 ON Configurations (LOWER(Name), Disabled);
+
-+-- Add transaction support for new config in database feature
-+ALTER TABLE Transactions MODIFY Field VARCHAR(255) NULL;
-+
+
diff --git a/etc/upgrade/4.5.1/schema.SQLite b/etc/upgrade/4.5.1/schema.SQLite
@@ -158,9 +152,6 @@
-CREATE UNIQUE INDEX Configurations1 ON Configurations (Name);
-CREATE INDEX Configurations2 ON Configurations (Disabled);
+CREATE INDEX Configurations1 ON Configurations (Name, Disabled);
-+
-+-- Add transaction support for new config in database feature
-+ALTER TABLE Transactions MODIFY Field VARCHAR(255) collate NOCASE NULL;
diff --git a/etc/upgrade/4.5.1/schema.mysql b/etc/upgrade/4.5.1/schema.mysql
@@ -173,7 +164,36 @@
-CREATE UNIQUE INDEX Configurations1 ON Configurations (Name);
-CREATE INDEX Configurations2 ON Configurations (Disabled);
+CREATE INDEX Configurations1 ON Configurations (Name, Disabled);
-+
+
+diff --git a/etc/upgrade/4.5.3/schema.Oracle b/etc/upgrade/4.5.3/schema.Oracle
+new file mode 100644
+--- /dev/null
++++ b/etc/upgrade/4.5.3/schema.Oracle
+@@
++-- Add transaction support for new config in database feature
++ALTER TABLE Transactions MODIFY Field VARCHAR2(255);
+
+diff --git a/etc/upgrade/4.5.3/schema.Pg b/etc/upgrade/4.5.3/schema.Pg
+new file mode 100644
+--- /dev/null
++++ b/etc/upgrade/4.5.3/schema.Pg
+@@
++-- Add transaction support for new config in database feature
++ALTER TABLE Transactions MODIFY Field VARCHAR(255) NULL;
+
+diff --git a/etc/upgrade/4.5.3/schema.SQLite b/etc/upgrade/4.5.3/schema.SQLite
+new file mode 100644
+--- /dev/null
++++ b/etc/upgrade/4.5.3/schema.SQLite
+@@
++-- Add transaction support for new config in database feature
++ALTER TABLE Transactions MODIFY Field VARCHAR(255) collate NOCASE NULL;
+
+diff --git a/etc/upgrade/4.5.3/schema.mysql b/etc/upgrade/4.5.3/schema.mysql
+new file mode 100644
+--- /dev/null
++++ b/etc/upgrade/4.5.3/schema.mysql
+@@
+-- Add transaction support for new config in database feature
+ALTER TABLE Transactions MODIFY Field VARCHAR(255) CHARACTER SET ascii DEFAULT NULL;
\ No newline at end of file
2: 4f154bd32 = 2: 0fef3f1d2 Log DB config changes as transactions
3: db223c851 = 3: c0379d022 Log DB config changes as transactions
4: 3c79f1346 = 4: 9a3386b62 Log DB config changes as transactions
More information about the rt-commit
mailing list