[Rt-commit] rt branch, 4.0/disabled-articles, updated. rt-4.0.22-19-g231e30d
? sunnavy
sunnavy at bestpractical.com
Mon Oct 20 12:49:18 EDT 2014
The branch, 4.0/disabled-articles has been updated
via 231e30d8d5fbbecf7f01f17eb0f67cc38b0e158f (commit)
from d87523984b397ed7ce6f2ba21dee74cc1799d47a (commit)
Summary of changes:
etc/upgrade/4.0.23/schema.Oracle | 1 +
etc/upgrade/4.0.23/schema.Pg | 1 +
etc/upgrade/4.0.23/schema.SQLite | 1 +
etc/upgrade/4.0.23/schema.mysql | 1 +
4 files changed, 4 insertions(+)
create mode 100644 etc/upgrade/4.0.23/schema.Oracle
create mode 100644 etc/upgrade/4.0.23/schema.Pg
create mode 100644 etc/upgrade/4.0.23/schema.SQLite
create mode 100644 etc/upgrade/4.0.23/schema.mysql
- Log -----------------------------------------------------------------
commit 231e30d8d5fbbecf7f01f17eb0f67cc38b0e158f
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Oct 21 00:47:44 2014 +0800
upgrade steps for Disabled column in Articles
diff --git a/etc/upgrade/4.0.23/schema.Oracle b/etc/upgrade/4.0.23/schema.Oracle
new file mode 100644
index 0000000..9c3dbeb
--- /dev/null
+++ b/etc/upgrade/4.0.23/schema.Oracle
@@ -0,0 +1 @@
+ALTER TABLE Articles ADD COLUMN Disabled NUMBER(11,0) DEFAULT 0 NOT NULL;
diff --git a/etc/upgrade/4.0.23/schema.Pg b/etc/upgrade/4.0.23/schema.Pg
new file mode 100644
index 0000000..8e7bfaf
--- /dev/null
+++ b/etc/upgrade/4.0.23/schema.Pg
@@ -0,0 +1 @@
+ALTER TABLE Articles ADD COLUMN Disabled smallint NOT NULL DEFAULT 0;
diff --git a/etc/upgrade/4.0.23/schema.SQLite b/etc/upgrade/4.0.23/schema.SQLite
new file mode 100644
index 0000000..8e7bfaf
--- /dev/null
+++ b/etc/upgrade/4.0.23/schema.SQLite
@@ -0,0 +1 @@
+ALTER TABLE Articles ADD COLUMN Disabled smallint NOT NULL DEFAULT 0;
diff --git a/etc/upgrade/4.0.23/schema.mysql b/etc/upgrade/4.0.23/schema.mysql
new file mode 100644
index 0000000..17036d8
--- /dev/null
+++ b/etc/upgrade/4.0.23/schema.mysql
@@ -0,0 +1 @@
+ALTER TABLE Articles ADD COLUMN Disabled int(2) NOT NULL DEFAULT 0;
-----------------------------------------------------------------------
More information about the rt-commit
mailing list