Fix [2839967] - Cannot change IsInPayroll
https://sourceforge.net/tracker/?func=detail&aid=2839967&group_id=176962&atid=934929
This commit is contained in:
parent
96df0ce7df
commit
45186bb478
|
@ -0,0 +1,14 @@
|
||||||
|
-- 18-ago-2009 18:11:44 ECT
|
||||||
|
-- Bug 2839967 - Cannot change IsInPayroll
|
||||||
|
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2009-08-18 18:11:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56294
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE AD_User MODIFY IsInPayroll CHAR(1) DEFAULT 'N'
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_User SET IsInPayroll='N' WHERE IsInPayroll IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE AD_User MODIFY IsInPayroll NOT NULL
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
-- 18-ago-2009 18:11:44 ECT
|
||||||
|
-- Bug 2839967 - Cannot change IsInPayroll
|
||||||
|
UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2009-08-18 18:11:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56294
|
||||||
|
;
|
||||||
|
|
||||||
|
insert into t_alter_column values('ad_user','IsInPayroll','CHAR(1)',null,'N')
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_User SET IsInPayroll='N' WHERE IsInPayroll IS NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
insert into t_alter_column values('ad_user','IsInPayroll',null,'NOT NULL',null)
|
||||||
|
;
|
||||||
|
|
Loading…
Reference in New Issue