Skip to content

Commit

Permalink
Dev Small database update fix
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Oct 20, 2017
1 parent e5a9b55 commit ce355a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions application/helpers/update/updatedb_helper.php
Expand Up @@ -531,7 +531,7 @@ function db_upgrade_all($iOldDBVersion, $bSilent=false) {
'name' => 'string(128)',
'description' => 'text',
'active' => 'int DEFAULT 0',
'settings' => 'text DEFAULT ""',
'settings' => 'text',
'permission' => 'string(128) NOT NULL',
'permission_grade' => 'string(128) NOT NULL'
]
Expand All @@ -541,8 +541,8 @@ function db_upgrade_all($iOldDBVersion, $bSilent=false) {
'teid' => 'pk',
'tid' => 'int NOT NULL',
'title' => 'text',
'content' => 'text DEFAULT ""',
'settings' => 'text DEFAULT ""'
'content' => 'text',
'settings' => 'text'
]
);
$oDB->createCommand()->update('{{settings_global}}',array('stg_value'=>321),"stg_name='DBVersion'");
Expand Down
6 changes: 3 additions & 3 deletions installer/create-database.php
Expand Up @@ -765,7 +765,7 @@ function createDatabase($oDB){
'name' => 'string(128)',
'description' => 'text',
'active' => 'int DEFAULT 0',
'settings' => 'text DEFAULT ""',
'settings' => 'text',
'permission' => 'string(128) NOT NULL',
'permission_grade' => 'string(128) NOT NULL'
]
Expand All @@ -777,8 +777,8 @@ function createDatabase($oDB){
'teid' => 'pk',
'tid' => 'int NOT NULL',
'title' => 'text',
'content' => 'text DEFAULT ""',
'settings' => 'text DEFAULT ""'
'content' => 'text',
'settings' => 'text'
]
);

Expand Down

0 comments on commit ce355a0

Please sign in to comment.