Skip to content

Commit 9fae5f2

Browse files
committed
Increase authorizerexpenses column as similar columns in the same table
1 parent f562159 commit 9fae5f2

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

install/sql/tables/pctabs.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CREATE TABLE `pctabs` (
66
`tablimit` double NOT NULL,
77
`assigner` varchar(100) DEFAULT NULL,
88
`authorizer` varchar(100) DEFAULT NULL,
9-
`authorizerexpenses` varchar(20) NOT NULL,
9+
`authorizerexpenses` varchar(100) NOT NULL,
1010
`glaccountassignment` varchar(20) NOT NULL DEFAULT '0',
1111
`glaccountpcash` varchar(20) NOT NULL DEFAULT '0',
1212
`defaulttag` tinyint NOT NULL DEFAULT '0',

sql/updates/60.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
ChangeColumnSize('authorizerexpenses', 'pctabs', 'VARCHAR(100)', ' NOT NULL ', '', '100');
4+
5+
UpdateDBNo(basename(__FILE__, '.php'), __('Increase the pctabs column for expense authorizerto 100 chars'));

0 commit comments

Comments
 (0)