core-jgi/migration/i2.0/postgresql/201404171500_IDEMPIERE-709.sql

467 lines
76 KiB
SQL

UPDATE a_asset_acct SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_acct ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_acct SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_acct ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_addition SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_addition ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_addition SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_addition ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_change SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_change ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_change SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_change ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_class SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_class ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_class SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_class ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_disposed SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_disposed ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_disposed SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_disposed ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_group_acct SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_group_acct ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_group_acct SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_group_acct ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_info_fin SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_info_fin ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_info_fin SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_info_fin ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_info_ins SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_info_ins ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_info_ins SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_info_ins ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_info_lic SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_info_lic ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_info_lic SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_info_lic ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_info_oth SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_info_oth ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_info_oth SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_info_oth ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_info_tax SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_info_tax ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_info_tax SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_info_tax ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_product SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_product ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_product SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_product ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_reval SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_reval ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_reval SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_reval ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_reval_entry SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_reval_entry ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_reval_entry SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_reval_entry ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_reval_index SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_reval_index ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_reval_index SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_reval_index ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_split SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_split ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_split SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_split ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_spread SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_spread ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_spread SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_spread ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_transfer SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_transfer ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_transfer SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_transfer ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_type SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_type ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_type SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_type ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_asset_use SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_use ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_asset_use SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_use ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_depreciation SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_depreciation SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_depreciation_build SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_build ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_depreciation_build SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_build ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_depreciation_convention SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_convention ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_depreciation_convention SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_convention ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_depreciation_entry SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_entry ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_depreciation_entry SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_entry ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_depreciation_exp SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_exp ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_depreciation_exp SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_exp ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_depreciation_forecast SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_forecast ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_depreciation_forecast SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_forecast ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_depreciation_method SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_method ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_depreciation_method SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_method ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_depreciation_table_detail SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_table_detail ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_depreciation_table_detail SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_table_detail ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_depreciation_table_header SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_table_header ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_depreciation_table_header SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_table_header ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_depreciation_workfile SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_workfile ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_depreciation_workfile SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_workfile ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_fundingmode SET created=Now() WHERE created IS NULL; ALTER TABLE a_fundingmode ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE a_fundingmode SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_fundingmode ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_fundingmode_acct SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_fundingmode_acct ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE a_fundingmode_acct SET created=Now() WHERE created IS NULL; ALTER TABLE a_fundingmode_acct ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_chart SET created=Now() WHERE created IS NULL; ALTER TABLE ad_chart ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_chart SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_chart ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_chartdatasource SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_chartdatasource ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_chartdatasource SET created=Now() WHERE created IS NULL; ALTER TABLE ad_chartdatasource ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_ctxhelp SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_ctxhelp ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_ctxhelp SET created=Now() WHERE created IS NULL; ALTER TABLE ad_ctxhelp ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_ctxhelpmsg SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_ctxhelpmsg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_ctxhelpmsg SET created=Now() WHERE created IS NULL; ALTER TABLE ad_ctxhelpmsg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_element SET created=Now() WHERE created IS NULL; ALTER TABLE ad_element ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_housekeeping SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_housekeeping ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_housekeeping SET created=Now() WHERE created IS NULL; ALTER TABLE ad_housekeeping ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_indexcolumn SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_indexcolumn ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_indexcolumn SET created=Now() WHERE created IS NULL; ALTER TABLE ad_indexcolumn ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_infowindow_access SET created=Now() WHERE created IS NULL; ALTER TABLE ad_infowindow_access ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_infowindow_access SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_infowindow_access ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_migrationscript SET created=Now() WHERE created IS NULL; ALTER TABLE ad_migrationscript ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_migrationscript SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_migrationscript ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_modelvalidator SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_modelvalidator ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_modelvalidator SET created=Now() WHERE created IS NULL; ALTER TABLE ad_modelvalidator ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_package_imp_inst SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_package_imp_inst ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_package_imp_inst SET created=Now() WHERE created IS NULL; ALTER TABLE ad_package_imp_inst ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_package_uuid_map SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_package_uuid_map ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_package_uuid_map SET created=Now() WHERE created IS NULL; ALTER TABLE ad_package_uuid_map ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_passwordrule SET created=Now() WHERE created IS NULL; ALTER TABLE ad_passwordrule ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_passwordrule SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_passwordrule ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_pinstance SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_pinstance ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_pinstance_para SET created=Now() WHERE created IS NULL; ALTER TABLE ad_pinstance_para ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_pinstance_para SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_pinstance_para ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_recentitem SET created=Now() WHERE created IS NULL; ALTER TABLE ad_recentitem ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_recentitem SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_recentitem ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_relationtype SET created=Now() WHERE created IS NULL; ALTER TABLE ad_relationtype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_relationtype SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_relationtype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_replicationdocument SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_replicationdocument ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_replicationdocument SET created=Now() WHERE created IS NULL; ALTER TABLE ad_replicationdocument ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_role_included SET created=Now() WHERE created IS NULL; ALTER TABLE ad_role_included ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_role_included SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_role_included ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_rule SET created=Now() WHERE created IS NULL; ALTER TABLE ad_rule ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_rule SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_rule ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_schedule SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_schedule ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_schedule SET created=Now() WHERE created IS NULL; ALTER TABLE ad_schedule ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_searchdefinition SET created=Now() WHERE created IS NULL; ALTER TABLE ad_searchdefinition ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_searchdefinition SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_searchdefinition ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_storageprovider SET created=Now() WHERE created IS NULL; ALTER TABLE ad_storageprovider ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_storageprovider SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_storageprovider ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_sysconfig SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_sysconfig ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_sysconfig SET created=Now() WHERE created IS NULL; ALTER TABLE ad_sysconfig ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_tab_customization SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_tab_customization ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_tab_customization SET created=Now() WHERE created IS NULL; ALTER TABLE ad_tab_customization ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_table_scriptvalidator SET created=Now() WHERE created IS NULL; ALTER TABLE ad_table_scriptvalidator ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_table_scriptvalidator SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_table_scriptvalidator ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_tableindex SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_tableindex ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_tableindex SET created=Now() WHERE created IS NULL; ALTER TABLE ad_tableindex ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_toolbarbutton SET created=Now() WHERE created IS NULL; ALTER TABLE ad_toolbarbutton ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_toolbarbutton SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_toolbarbutton ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_toolbarbuttonrestrict SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_toolbarbuttonrestrict ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_toolbarbuttonrestrict SET created=Now() WHERE created IS NULL; ALTER TABLE ad_toolbarbuttonrestrict ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_viewcolumn SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_viewcolumn ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_viewcolumn SET created=Now() WHERE created IS NULL; ALTER TABLE ad_viewcolumn ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_viewcomponent SET created=Now() WHERE created IS NULL; ALTER TABLE ad_viewcomponent ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_viewcomponent SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_viewcomponent ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_wizardprocess SET created=Now() WHERE created IS NULL; ALTER TABLE ad_wizardprocess ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_wizardprocess SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_wizardprocess ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ad_zoomcondition SET created=Now() WHERE created IS NULL; ALTER TABLE ad_zoomcondition ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ad_zoomcondition SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_zoomcondition ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_clientexception SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_clientexception ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_clientexception SET created=Now() WHERE created IS NULL; ALTER TABLE asp_clientexception ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE asp_clientlevel SET created=Now() WHERE created IS NULL; ALTER TABLE asp_clientlevel ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE asp_clientlevel SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_clientlevel ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_field SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_field ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_field SET created=Now() WHERE created IS NULL; ALTER TABLE asp_field ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE asp_form SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_form ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_form SET created=Now() WHERE created IS NULL; ALTER TABLE asp_form ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE asp_level SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_level ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_level SET created=Now() WHERE created IS NULL; ALTER TABLE asp_level ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE asp_module SET created=Now() WHERE created IS NULL; ALTER TABLE asp_module ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE asp_module SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_module ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_process SET created=Now() WHERE created IS NULL; ALTER TABLE asp_process ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE asp_process SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_process ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_process_para SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_process_para ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_process_para SET created=Now() WHERE created IS NULL; ALTER TABLE asp_process_para ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE asp_ref_list SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_ref_list ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_ref_list SET created=Now() WHERE created IS NULL; ALTER TABLE asp_ref_list ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE asp_tab SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_tab ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_tab SET created=Now() WHERE created IS NULL; ALTER TABLE asp_tab ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE asp_task SET created=Now() WHERE created IS NULL; ALTER TABLE asp_task ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE asp_task SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_task ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_window SET created=Now() WHERE created IS NULL; ALTER TABLE asp_window ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE asp_window SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_window ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_workflow SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_workflow ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE asp_workflow SET created=Now() WHERE created IS NULL; ALTER TABLE asp_workflow ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_1099box SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_1099box ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_1099box SET created=Now() WHERE created IS NULL; ALTER TABLE c_1099box ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_addresstransaction SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_addresstransaction ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_addresstransaction SET created=Now() WHERE created IS NULL; ALTER TABLE c_addresstransaction ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_addressvalidation SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_addressvalidation ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_addressvalidation SET created=Now() WHERE created IS NULL; ALTER TABLE c_addressvalidation ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_addressvalidationcfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_addressvalidationcfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_addressvalidationcfg SET created=Now() WHERE created IS NULL; ALTER TABLE c_addressvalidationcfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_bankaccount_processor SET created=Now() WHERE created IS NULL; ALTER TABLE c_bankaccount_processor ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_bankaccount_processor SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_bankaccount_processor ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_bp_shippingacct SET created=Now() WHERE created IS NULL; ALTER TABLE c_bp_shippingacct ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_bp_shippingacct SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_bp_shippingacct ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_cashplan SET created=Now() WHERE created IS NULL; ALTER TABLE c_cashplan ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_cashplan SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_cashplan ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_cashplanline SET created=Now() WHERE created IS NULL; ALTER TABLE c_cashplanline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_cashplanline SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_cashplanline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_chargetype SET created=Now() WHERE created IS NULL; ALTER TABLE c_chargetype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_chargetype SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_chargetype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_chargetype_doctype SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_chargetype_doctype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_chargetype_doctype SET created=Now() WHERE created IS NULL; ALTER TABLE c_chargetype_doctype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_contactactivity SET created=Now() WHERE created IS NULL; ALTER TABLE c_contactactivity ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_contactactivity SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_contactactivity ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_depositbatch SET created=Now() WHERE created IS NULL; ALTER TABLE c_depositbatch ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_depositbatch SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_depositbatch ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_depositbatchline SET created=Now() WHERE created IS NULL; ALTER TABLE c_depositbatchline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_depositbatchline SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_depositbatchline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_onlinetrxhistory SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_onlinetrxhistory ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_onlinetrxhistory SET created=Now() WHERE created IS NULL; ALTER TABLE c_onlinetrxhistory ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_opportunity SET created=Now() WHERE created IS NULL; ALTER TABLE c_opportunity ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_opportunity SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_opportunity ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_orderlandedcost SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_orderlandedcost ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_orderlandedcost SET created=Now() WHERE created IS NULL; ALTER TABLE c_orderlandedcost ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_orderlandedcostallocation SET created=Now() WHERE created IS NULL; ALTER TABLE c_orderlandedcostallocation ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_orderlandedcostallocation SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_orderlandedcostallocation ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_orderpayschedule SET created=Now() WHERE created IS NULL; ALTER TABLE c_orderpayschedule ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_orderpayschedule SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_orderpayschedule ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_paymenttransaction SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_paymenttransaction ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_paymenttransaction SET created=Now() WHERE created IS NULL; ALTER TABLE c_paymenttransaction ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_pospayment SET created=Now() WHERE created IS NULL; ALTER TABLE c_pospayment ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_pospayment SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_pospayment ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_postendertype SET created=Now() WHERE created IS NULL; ALTER TABLE c_postendertype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_postendertype SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_postendertype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_salesstage SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_salesstage ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_salesstage SET created=Now() WHERE created IS NULL; ALTER TABLE c_salesstage ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_taxbase SET created=Now() WHERE created IS NULL; ALTER TABLE c_taxbase ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_taxbase SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_taxbase ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_taxdefinition SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_taxdefinition ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_taxdefinition SET created=Now() WHERE created IS NULL; ALTER TABLE c_taxdefinition ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_taxgroup SET created=Now() WHERE created IS NULL; ALTER TABLE c_taxgroup ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_taxgroup SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_taxgroup ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_taxprovider SET created=Now() WHERE created IS NULL; ALTER TABLE c_taxprovider ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_taxprovider SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_taxprovider ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_taxprovidercfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_taxprovidercfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_taxprovidercfg SET created=Now() WHERE created IS NULL; ALTER TABLE c_taxprovidercfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE c_taxtype SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_taxtype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE c_taxtype SET created=Now() WHERE created IS NULL; ALTER TABLE c_taxtype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE dd_networkdistribution SET updated=Now() WHERE updated IS NULL; ALTER TABLE dd_networkdistribution ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE dd_networkdistribution SET created=Now() WHERE created IS NULL; ALTER TABLE dd_networkdistribution ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE dd_networkdistributionline SET created=Now() WHERE created IS NULL; ALTER TABLE dd_networkdistributionline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE dd_networkdistributionline SET updated=Now() WHERE updated IS NULL; ALTER TABLE dd_networkdistributionline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE dd_order SET updated=Now() WHERE updated IS NULL; ALTER TABLE dd_order ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE dd_order SET created=Now() WHERE created IS NULL; ALTER TABLE dd_order ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE dd_orderline SET created=Now() WHERE created IS NULL; ALTER TABLE dd_orderline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE dd_orderline SET updated=Now() WHERE updated IS NULL; ALTER TABLE dd_orderline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE exp_format SET created=Now() WHERE created IS NULL; ALTER TABLE exp_format ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE exp_format SET updated=Now() WHERE updated IS NULL; ALTER TABLE exp_format ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE exp_formatline SET updated=Now() WHERE updated IS NULL; ALTER TABLE exp_formatline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE exp_formatline SET created=Now() WHERE created IS NULL; ALTER TABLE exp_formatline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE exp_processor SET created=Now() WHERE created IS NULL; ALTER TABLE exp_processor ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE exp_processor SET updated=Now() WHERE updated IS NULL; ALTER TABLE exp_processor ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE exp_processor_type SET updated=Now() WHERE updated IS NULL; ALTER TABLE exp_processor_type ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE exp_processor_type SET created=Now() WHERE created IS NULL; ALTER TABLE exp_processor_type ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE exp_processorparameter SET updated=Now() WHERE updated IS NULL; ALTER TABLE exp_processorparameter ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE exp_processorparameter SET created=Now() WHERE created IS NULL; ALTER TABLE exp_processorparameter ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE fact_acct_summary SET created=Now() WHERE created IS NULL; ALTER TABLE fact_acct_summary ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE fact_acct_summary SET updated=Now() WHERE updated IS NULL; ALTER TABLE fact_acct_summary ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE fact_reconciliation SET created=Now() WHERE created IS NULL; ALTER TABLE fact_reconciliation ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE fact_reconciliation SET updated=Now() WHERE updated IS NULL; ALTER TABLE fact_reconciliation ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE gl_journalgenerator SET updated=Now() WHERE updated IS NULL; ALTER TABLE gl_journalgenerator ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE gl_journalgenerator SET created=Now() WHERE created IS NULL; ALTER TABLE gl_journalgenerator ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE gl_journalgeneratorline SET created=Now() WHERE created IS NULL; ALTER TABLE gl_journalgeneratorline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE gl_journalgeneratorline SET updated=Now() WHERE updated IS NULL; ALTER TABLE gl_journalgeneratorline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE gl_journalgeneratorsource SET updated=Now() WHERE updated IS NULL; ALTER TABLE gl_journalgeneratorsource ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE gl_journalgeneratorsource SET created=Now() WHERE created IS NULL; ALTER TABLE gl_journalgeneratorsource ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_attribute SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_attribute ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_attribute SET created=Now() WHERE created IS NULL; ALTER TABLE hr_attribute ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_concept SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_concept ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_concept SET created=Now() WHERE created IS NULL; ALTER TABLE hr_concept ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_concept_acct SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_concept_acct ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_concept_acct SET created=Now() WHERE created IS NULL; ALTER TABLE hr_concept_acct ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_concept_category SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_concept_category ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_concept_category SET created=Now() WHERE created IS NULL; ALTER TABLE hr_concept_category ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_contract SET created=Now() WHERE created IS NULL; ALTER TABLE hr_contract ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_contract SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_contract ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_department SET created=Now() WHERE created IS NULL; ALTER TABLE hr_department ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_department SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_department ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_employee SET created=Now() WHERE created IS NULL; ALTER TABLE hr_employee ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_employee SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_employee ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_job SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_job ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_job SET created=Now() WHERE created IS NULL; ALTER TABLE hr_job ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_list SET created=Now() WHERE created IS NULL; ALTER TABLE hr_list ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_list SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_list ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_listline SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_listline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_listline SET created=Now() WHERE created IS NULL; ALTER TABLE hr_listline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_listtype SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_listtype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_listtype SET created=Now() WHERE created IS NULL; ALTER TABLE hr_listtype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_listversion SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_listversion ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_listversion SET created=Now() WHERE created IS NULL; ALTER TABLE hr_listversion ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_movement SET created=Now() WHERE created IS NULL; ALTER TABLE hr_movement ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_movement SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_movement ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_payroll SET created=Now() WHERE created IS NULL; ALTER TABLE hr_payroll ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_payroll SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_payroll ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_payrollconcept SET created=Now() WHERE created IS NULL; ALTER TABLE hr_payrollconcept ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_payrollconcept SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_payrollconcept ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_period SET created=Now() WHERE created IS NULL; ALTER TABLE hr_period ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_period SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_period ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_process SET created=Now() WHERE created IS NULL; ALTER TABLE hr_process ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE hr_process SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_process ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_year SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_year ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE hr_year SET created=Now() WHERE created IS NULL; ALTER TABLE hr_year ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_asset SET created=Now() WHERE created IS NULL; ALTER TABLE i_asset ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_asset SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_asset ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_bankstatement SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_bankstatement ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_bankstatement SET created=Now() WHERE created IS NULL; ALTER TABLE i_bankstatement ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_bpartner SET created=Now() WHERE created IS NULL; ALTER TABLE i_bpartner ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_bpartner SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_bpartner ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_conversion_rate SET created=Now() WHERE created IS NULL; ALTER TABLE i_conversion_rate ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_conversion_rate SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_conversion_rate ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_elementvalue SET created=Now() WHERE created IS NULL; ALTER TABLE i_elementvalue ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_elementvalue SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_elementvalue ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_fajournal SET created=Now() WHERE created IS NULL; ALTER TABLE i_fajournal ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_fajournal SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_fajournal ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_fixedasset SET created=Now() WHERE created IS NULL; ALTER TABLE i_fixedasset ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_fixedasset SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_fixedasset ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_gljournal SET created=Now() WHERE created IS NULL; ALTER TABLE i_gljournal ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_gljournal SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_gljournal ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_hr_movement SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_hr_movement ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_hr_movement SET created=Now() WHERE created IS NULL; ALTER TABLE i_hr_movement ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_inventory SET created=Now() WHERE created IS NULL; ALTER TABLE i_inventory ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_inventory SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_inventory ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_invoice SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_invoice ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_invoice SET created=Now() WHERE created IS NULL; ALTER TABLE i_invoice ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_movement SET created=Now() WHERE created IS NULL; ALTER TABLE i_movement ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_movement SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_movement ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_order SET created=Now() WHERE created IS NULL; ALTER TABLE i_order ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_order SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_order ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_payment SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_payment ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_payment SET created=Now() WHERE created IS NULL; ALTER TABLE i_payment ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_pricelist SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_pricelist ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_pricelist SET created=Now() WHERE created IS NULL; ALTER TABLE i_pricelist ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_product SET created=Now() WHERE created IS NULL; ALTER TABLE i_product ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_product SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_product ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_productplanning SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_productplanning ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_productplanning SET created=Now() WHERE created IS NULL; ALTER TABLE i_productplanning ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE i_reportline SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_reportline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE i_reportline SET created=Now() WHERE created IS NULL; ALTER TABLE i_reportline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE imp_processor SET updated=Now() WHERE updated IS NULL; ALTER TABLE imp_processor ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE imp_processor SET created=Now() WHERE created IS NULL; ALTER TABLE imp_processor ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE imp_processor_type SET updated=Now() WHERE updated IS NULL; ALTER TABLE imp_processor_type ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE imp_processor_type SET created=Now() WHERE created IS NULL; ALTER TABLE imp_processor_type ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE imp_processorlog SET created=Now() WHERE created IS NULL; ALTER TABLE imp_processorlog ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE imp_processorlog SET updated=Now() WHERE updated IS NULL; ALTER TABLE imp_processorlog ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE imp_processorparameter SET updated=Now() WHERE updated IS NULL; ALTER TABLE imp_processorparameter ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE imp_processorparameter SET created=Now() WHERE created IS NULL; ALTER TABLE imp_processorparameter ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_bp_price SET created=Now() WHERE created IS NULL; ALTER TABLE m_bp_price ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_bp_price SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_bp_price ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_commodityshipment SET created=Now() WHERE created IS NULL; ALTER TABLE m_commodityshipment ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_commodityshipment SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_commodityshipment ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_costhistory SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_costhistory ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_costhistory SET created=Now() WHERE created IS NULL; ALTER TABLE m_costhistory ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_packagemps SET created=Now() WHERE created IS NULL; ALTER TABLE m_packagemps ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_packagemps SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_packagemps ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_parttype SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_parttype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_parttype SET created=Now() WHERE created IS NULL; ALTER TABLE m_parttype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_product_qualitytest SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_product_qualitytest ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_product_qualitytest SET created=Now() WHERE created IS NULL; ALTER TABLE m_product_qualitytest ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_productpricevendorbreak SET created=Now() WHERE created IS NULL; ALTER TABLE m_productpricevendorbreak ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_productpricevendorbreak SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_productpricevendorbreak ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_promotion SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotion ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_promotion SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotion ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_promotiondistribution SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotiondistribution ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_promotiondistribution SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotiondistribution ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_promotiongroup SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotiongroup ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_promotiongroup SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotiongroup ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_promotiongroupline SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotiongroupline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_promotiongroupline SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotiongroupline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_promotionline SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotionline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_promotionline SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotionline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_promotionprecondition SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotionprecondition ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_promotionprecondition SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotionprecondition ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_promotionreward SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotionreward ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_promotionreward SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotionreward ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_qualitytest SET created=Now() WHERE created IS NULL; ALTER TABLE m_qualitytest ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_qualitytest SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_qualitytest ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_qualitytestresult SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_qualitytestresult ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_qualitytestresult SET created=Now() WHERE created IS NULL; ALTER TABLE m_qualitytestresult ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_rmatax SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_rmatax ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_rmatax SET created=Now() WHERE created IS NULL; ALTER TABLE m_rmatax ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_shippercfg SET created=Now() WHERE created IS NULL; ALTER TABLE m_shippercfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_shippercfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shippercfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_shipperlabels SET created=Now() WHERE created IS NULL; ALTER TABLE m_shipperlabels ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_shipperlabels SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shipperlabels ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_shipperlabelscfg SET created=Now() WHERE created IS NULL; ALTER TABLE m_shipperlabelscfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_shipperlabelscfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shipperlabelscfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_shipperpackaging SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shipperpackaging ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_shipperpackaging SET created=Now() WHERE created IS NULL; ALTER TABLE m_shipperpackaging ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_shipperpackagingcfg SET created=Now() WHERE created IS NULL; ALTER TABLE m_shipperpackagingcfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_shipperpackagingcfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shipperpackagingcfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_shipperpickuptypes SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shipperpickuptypes ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_shipperpickuptypes SET created=Now() WHERE created IS NULL; ALTER TABLE m_shipperpickuptypes ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_shipperpickuptypescfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shipperpickuptypescfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_shipperpickuptypescfg SET created=Now() WHERE created IS NULL; ALTER TABLE m_shipperpickuptypescfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_shippingprocessor SET created=Now() WHERE created IS NULL; ALTER TABLE m_shippingprocessor ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_shippingprocessor SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shippingprocessor ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_shippingprocessorcfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shippingprocessorcfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_shippingprocessorcfg SET created=Now() WHERE created IS NULL; ALTER TABLE m_shippingprocessorcfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_shippingtransaction SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shippingtransaction ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_shippingtransaction SET created=Now() WHERE created IS NULL; ALTER TABLE m_shippingtransaction ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_shippingtransactionline SET created=Now() WHERE created IS NULL; ALTER TABLE m_shippingtransactionline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_shippingtransactionline SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shippingtransactionline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_storageonhand SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_storageonhand ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_storageonhand SET created=Now() WHERE created IS NULL; ALTER TABLE m_storageonhand ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE m_storagereservation SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_storagereservation ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE m_storagereservation SET created=Now() WHERE created IS NULL; ALTER TABLE m_storagereservation ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pa_dashboardcontent SET created=Now() WHERE created IS NULL; ALTER TABLE pa_dashboardcontent ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pa_dashboardcontent SET updated=Now() WHERE updated IS NULL; ALTER TABLE pa_dashboardcontent ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pa_dashboardcontent_access SET created=Now() WHERE created IS NULL; ALTER TABLE pa_dashboardcontent_access ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pa_dashboardcontent_access SET updated=Now() WHERE updated IS NULL; ALTER TABLE pa_dashboardcontent_access ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pa_dashboardpreference SET updated=Now() WHERE updated IS NULL; ALTER TABLE pa_dashboardpreference ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pa_dashboardpreference SET created=Now() WHERE created IS NULL; ALTER TABLE pa_dashboardpreference ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pa_reportcube SET created=Now() WHERE created IS NULL; ALTER TABLE pa_reportcube ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pa_reportcube SET updated=Now() WHERE updated IS NULL; ALTER TABLE pa_reportcube ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_cost_collector SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_cost_collector ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_cost_collector SET created=Now() WHERE created IS NULL; ALTER TABLE pp_cost_collector ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_cost_collectorma SET created=Now() WHERE created IS NULL; ALTER TABLE pp_cost_collectorma ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_cost_collectorma SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_cost_collectorma ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_mrp SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_mrp ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_mrp SET created=Now() WHERE created IS NULL; ALTER TABLE pp_mrp ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_order SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_order SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_order_bom SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_bom ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_order_bom SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_bom ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_order_bomline SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_bomline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_order_bomline SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_bomline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_order_cost SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_cost ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_order_cost SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_cost ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_order_node SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_node ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_order_node SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_node ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_order_node_asset SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_node_asset ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_order_node_asset SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_node_asset ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_order_node_product SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_node_product ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_order_node_product SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_node_product ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_order_nodenext SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_nodenext ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_order_nodenext SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_nodenext ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_order_workflow SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_workflow ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_order_workflow SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_workflow ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_product_bom SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_product_bom ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_product_bom SET created=Now() WHERE created IS NULL; ALTER TABLE pp_product_bom ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_product_bomline SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_product_bomline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_product_bomline SET created=Now() WHERE created IS NULL; ALTER TABLE pp_product_bomline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_product_planning SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_product_planning ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_product_planning SET created=Now() WHERE created IS NULL; ALTER TABLE pp_product_planning ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_wf_node_asset SET created=Now() WHERE created IS NULL; ALTER TABLE pp_wf_node_asset ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_wf_node_asset SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_wf_node_asset ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE pp_wf_node_product SET created=Now() WHERE created IS NULL; ALTER TABLE pp_wf_node_product ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE pp_wf_node_product SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_wf_node_product ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE qm_specification SET updated=Now() WHERE updated IS NULL; ALTER TABLE qm_specification ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE qm_specification SET created=Now() WHERE created IS NULL; ALTER TABLE qm_specification ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE qm_specificationline SET updated=Now() WHERE updated IS NULL; ALTER TABLE qm_specificationline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE qm_specificationline SET created=Now() WHERE created IS NULL; ALTER TABLE qm_specificationline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE t_1099extract SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_1099extract ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE t_1099extract SET created=Now() WHERE created IS NULL; ALTER TABLE t_1099extract ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE t_bom_indented SET created=Now() WHERE created IS NULL; ALTER TABLE t_bom_indented ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE t_bom_indented SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_bom_indented ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE t_bomline SET created=Now() WHERE created IS NULL; ALTER TABLE t_bomline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE t_bomline SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_bomline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE t_cashflow SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_cashflow ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE t_cashflow SET created=Now() WHERE created IS NULL; ALTER TABLE t_cashflow ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE t_mrp_crp SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_mrp_crp ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE t_mrp_crp SET created=Now() WHERE created IS NULL; ALTER TABLE t_mrp_crp ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE t_reconciliation SET created=Now() WHERE created IS NULL; ALTER TABLE t_reconciliation ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE t_reconciliation SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_reconciliation ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE t_replenish SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_replenish ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE t_trialbalance SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_trialbalance ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE t_trialbalance SET created=Now() WHERE created IS NULL; ALTER TABLE t_trialbalance ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE u_posterminal SET updated=Now() WHERE updated IS NULL; ALTER TABLE u_posterminal ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE u_posterminal SET created=Now() WHERE created IS NULL; ALTER TABLE u_posterminal ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ws_webservice SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservice ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ws_webservice SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservice ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ws_webservice_para SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservice_para ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ws_webservice_para SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservice_para ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ws_webservicefieldinput SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservicefieldinput ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ws_webservicefieldinput SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservicefieldinput ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ws_webservicefieldoutput SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservicefieldoutput ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ws_webservicefieldoutput SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservicefieldoutput ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ws_webservicemethod SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservicemethod ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ws_webservicemethod SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservicemethod ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ws_webservicetype SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservicetype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE ws_webservicetype SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservicetype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ws_webservicetypeaccess SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservicetypeaccess ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ;
UPDATE ws_webservicetypeaccess SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservicetypeaccess ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ;
UPDATE AD_Column SET DefaultValue='SYSDATE' WHERE DefaultValue is null AND ColumnName='Created';
UPDATE AD_Column SET DefaultValue='SYSDATE' WHERE DefaultValue is null AND ColumnName='Updated';
UPDATE AD_Column SET IsMandatory='Y' WHERE IsMandatory='N' AND ColumnName='Created';
UPDATE AD_Column SET IsMandatory='Y' WHERE IsMandatory='N' AND ColumnName='Updated';
SELECT register_migration_script('201404171500_IDEMPIERE-709.sql') FROM dual
;