From 6f92398160906bdd35995757e74a0bc5326f97a5 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 29 Jan 2013 17:18:07 -0800 Subject: [PATCH] IDEMPIERE-294 Maintenance / Fix wrong datatype of column on DB --- .../oracle/201301291717_IDEMPIERE-294.sql | 10 ++++++++++ .../postgresql/201301291717_IDEMPIERE-294.sql | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 migration/i1.0a-release/oracle/201301291717_IDEMPIERE-294.sql create mode 100644 migration/i1.0a-release/postgresql/201301291717_IDEMPIERE-294.sql diff --git a/migration/i1.0a-release/oracle/201301291717_IDEMPIERE-294.sql b/migration/i1.0a-release/oracle/201301291717_IDEMPIERE-294.sql new file mode 100644 index 0000000000..1d2d866c4d --- /dev/null +++ b/migration/i1.0a-release/oracle/201301291717_IDEMPIERE-294.sql @@ -0,0 +1,10 @@ +-- IDEMPIERE-294 Maintenance / Fix wrong datatype of column on DB +ALTER TABLE ad_broadcastmessage DROP COLUMN notification_client_id; +; + +ALTER TABLE ad_broadcastmessage ADD COLUMN notification_client_id numeric(10,0) NULL; +; + +SELECT register_migration_script('201301291717_IDEMPIERE-294.sql') FROM dual +; + diff --git a/migration/i1.0a-release/postgresql/201301291717_IDEMPIERE-294.sql b/migration/i1.0a-release/postgresql/201301291717_IDEMPIERE-294.sql new file mode 100644 index 0000000000..1d2d866c4d --- /dev/null +++ b/migration/i1.0a-release/postgresql/201301291717_IDEMPIERE-294.sql @@ -0,0 +1,10 @@ +-- IDEMPIERE-294 Maintenance / Fix wrong datatype of column on DB +ALTER TABLE ad_broadcastmessage DROP COLUMN notification_client_id; +; + +ALTER TABLE ad_broadcastmessage ADD COLUMN notification_client_id numeric(10,0) NULL; +; + +SELECT register_migration_script('201301291717_IDEMPIERE-294.sql') FROM dual +; +