core-jgi/migration/360lts-i1.0a/postgresql/819_IDEMPIERE-140.sql

227 lines
9.8 KiB
SQL

-- Feb 15, 2012 10:38:23 AM COT
-- IDEMPIERE-140 Different length column between pg database and dictionary
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:38:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14628
;
-- Feb 15, 2012 10:38:55 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:38:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15601
;
-- Feb 15, 2012 10:39:14 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:39:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15781
;
-- Feb 15, 2012 10:39:39 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:39:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15802
;
-- Feb 15, 2012 10:40:56 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:40:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15752
;
-- Feb 15, 2012 10:41:07 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:41:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15770
;
-- Feb 15, 2012 10:42:55 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:42:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14657
;
-- Feb 15, 2012 10:43:11 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:43:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53260
;
-- Feb 15, 2012 10:43:26 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:43:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15617
;
-- Feb 15, 2012 10:46:01 AM COT
UPDATE AD_Column SET FieldLength=1023,Updated=TO_TIMESTAMP('2012-02-15 10:46:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=52112
;
-- Feb 15, 2012 10:47:01 AM COT
UPDATE AD_Column SET FieldLength=240,Updated=TO_TIMESTAMP('2012-02-15 10:47:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=52068
;
-- Feb 15, 2012 10:47:30 AM COT
UPDATE AD_Column SET FieldLength=50,Updated=TO_TIMESTAMP('2012-02-15 10:47:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50195
;
-- Feb 15, 2012 10:47:44 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:47:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14357
;
-- Feb 15, 2012 10:47:56 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:47:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14584
;
-- Feb 15, 2012 10:48:14 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:48:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14459
;
-- Feb 15, 2012 10:48:27 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:48:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15630
;
-- Feb 15, 2012 10:48:38 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:48:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15210
;
-- Feb 15, 2012 10:48:49 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:48:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15187
;
-- Feb 15, 2012 10:49:04 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:49:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15709
;
-- Feb 15, 2012 10:49:16 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:49:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15491
;
-- Feb 15, 2012 10:49:29 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:49:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15155
;
-- Feb 15, 2012 10:49:38 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:49:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15253
;
-- Feb 15, 2012 10:49:48 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:49:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15741
;
-- Feb 15, 2012 10:50:00 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:50:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15305
;
-- Feb 15, 2012 10:50:11 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:50:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15566
;
-- Feb 15, 2012 10:50:24 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:50:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15331
;
-- Feb 15, 2012 10:50:33 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:50:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15362
;
-- Feb 15, 2012 10:50:42 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:50:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15377
;
-- Feb 15, 2012 10:50:50 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:50:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15391
;
-- Feb 15, 2012 10:51:03 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:51:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15581
;
-- Feb 15, 2012 10:51:17 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:51:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15199
;
-- Feb 15, 2012 10:51:30 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:51:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15235
;
-- Feb 15, 2012 10:51:44 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:51:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15403
;
-- Feb 15, 2012 10:51:56 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:51:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15137
;
-- Feb 15, 2012 10:52:05 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:52:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15433
;
-- Feb 15, 2012 10:52:41 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:52:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15552
;
-- Feb 15, 2012 10:53:01 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:53:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15120
;
-- Feb 15, 2012 10:53:10 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:53:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15443
;
-- Feb 15, 2012 10:53:21 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:53:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15993
;
-- Feb 15, 2012 10:53:36 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:53:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14538
;
-- Feb 15, 2012 10:53:58 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:53:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14554
;
-- Feb 15, 2012 10:54:10 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:54:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14569
;
-- Feb 15, 2012 10:54:24 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:54:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14796
;
-- Feb 15, 2012 10:55:16 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:55:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14808
;
-- Feb 15, 2012 10:55:27 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:55:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14745
;
-- Feb 15, 2012 10:55:37 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:55:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14771
;
-- Feb 15, 2012 10:55:48 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:55:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14516
;
-- Feb 15, 2012 10:55:58 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:55:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14821
;
-- Feb 15, 2012 10:56:09 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:56:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14833
;
-- Feb 15, 2012 10:56:19 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:56:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14954
;
-- Feb 15, 2012 10:56:30 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:56:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14874
;
-- Feb 15, 2012 10:56:42 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:56:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14885
;
-- Feb 15, 2012 10:56:54 AM COT
UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2012-02-15 10:56:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14997
;
-- Feb 15, 2012 10:57:33 AM COT
UPDATE AD_Column SET FieldLength=255,Updated=TO_TIMESTAMP('2012-02-15 10:57:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7794
;
-- Feb 15, 2012 10:58:53 AM COT
INSERT INTO t_alter_column values('cm_newschannel','AD_Language','VARCHAR(6)',null,'NULL')
;
UPDATE AD_System
SET LastMigrationScriptApplied='819_IDEMPIERE-140.sql'
WHERE LastMigrationScriptApplied<'819_IDEMPIERE-140.sql'
OR LastMigrationScriptApplied IS NULL
;