Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update code clarification - thanks Eloy!

  • Loading branch information...
commit 94b3dde15b594a256a3a376857380229dfe80a13 1 parent 12819a0
skodak authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 mod/chat/db/mysql.php
  2. +2 −2 mod/chat/db/postgres7.php
View
4 mod/chat/db/mysql.php
@@ -54,8 +54,8 @@ function chat_upgrade($oldversion) {
}
if ($oldversion < 2005020300) {
- table_column('chat_users', '', 'course');
- table_column('chat_users', '', 'lang', 'varchar', '10', '', '');
+ table_column('chat_users', '', 'course', 'integer', '10', 'unsigned', '0', 'not null', '');
+ table_column('chat_users', '', 'lang' , 'varchar', '10', '' , '' , 'not null', '');
}
return true;
View
4 mod/chat/db/postgres7.php
@@ -43,8 +43,8 @@ function chat_upgrade($oldversion) {
}
if ($oldversion < 2005020300) {
- table_column('chat_users', '', 'course');
- table_column('chat_users', '', 'lang', 'varchar', '10', '', '');
+ table_column('chat_users', '', 'course', 'integer', '10', 'unsigned', '0', 'not null', '');
+ table_column('chat_users', '', 'lang' , 'varchar', '10', '' , '' , 'not null', '');
}
return true;
Please sign in to comment.
Something went wrong with that request. Please try again.