mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
user language storage
This commit is contained in:
parent
4b356e59ec
commit
b500da74b6
3 changed files with 5 additions and 3 deletions
2
boot.php
2
boot.php
|
@ -4,7 +4,7 @@ set_time_limit(0);
|
|||
|
||||
define ( 'FRIENDIKA_VERSION', '2.1.936' );
|
||||
define ( 'DFRN_PROTOCOL_VERSION', '2.2' );
|
||||
define ( 'DB_UPDATE_VERSION', 1045 );
|
||||
define ( 'DB_UPDATE_VERSION', 1046 );
|
||||
|
||||
define ( 'EOL', "<br />\r\n" );
|
||||
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
||||
|
|
|
@ -366,6 +366,7 @@ CREATE TABLE IF NOT EXISTS `user` (
|
|||
`email` char(255) NOT NULL,
|
||||
`openid` char(255) NOT NULL,
|
||||
`timezone` char(128) NOT NULL,
|
||||
`language` char(32) NOT NULL DEFAULT 'en',
|
||||
`register_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`login_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`default-location` char(255) NOT NULL,
|
||||
|
|
|
@ -416,5 +416,6 @@ function update_1044() {
|
|||
q("ALTER TABLE `profile` ADD FULLTEXT ( `prv_keywords` ) ");
|
||||
}
|
||||
|
||||
|
||||
|
||||
function update_1045() {
|
||||
q("ALTER TABLE `user` ADD `language` CHAR( 16 ) NOT NULL DEFAULT 'en' AFTER `timezone` ");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue