[CORE] MySQL 5.5 support fully restored
This commit is contained in:
parent
46be9b76ef
commit
d1fc7c0774
|
@ -32,7 +32,7 @@ defined('GNUSOCIAL') || die();
|
||||||
define('GNUSOCIAL_ENGINE', 'GNU social');
|
define('GNUSOCIAL_ENGINE', 'GNU social');
|
||||||
define('GNUSOCIAL_ENGINE_URL', 'https://www.gnu.org/software/social/');
|
define('GNUSOCIAL_ENGINE_URL', 'https://www.gnu.org/software/social/');
|
||||||
|
|
||||||
define('GNUSOCIAL_BASE_VERSION', '1.20.6');
|
define('GNUSOCIAL_BASE_VERSION', '1.20.7');
|
||||||
define('GNUSOCIAL_LIFECYCLE', 'release'); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release'
|
define('GNUSOCIAL_LIFECYCLE', 'release'); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release'
|
||||||
|
|
||||||
define('GNUSOCIAL_VERSION', GNUSOCIAL_BASE_VERSION . '-' . GNUSOCIAL_LIFECYCLE);
|
define('GNUSOCIAL_VERSION', GNUSOCIAL_BASE_VERSION . '-' . GNUSOCIAL_LIFECYCLE);
|
||||||
|
|
|
@ -43,7 +43,7 @@ class Usage_stats extends Managed_DataObject
|
||||||
'fields' => [
|
'fields' => [
|
||||||
'type' => ['type' => 'varchar', 'length' => 191, 'description' => 'Type of countable entity'],
|
'type' => ['type' => 'varchar', 'length' => 191, 'description' => 'Type of countable entity'],
|
||||||
'count' => ['type' => 'int', 'size' => 'int', 'default' => 0, 'description' => 'Number of entities of this type'],
|
'count' => ['type' => 'int', 'size' => 'int', 'default' => 0, 'description' => 'Number of entities of this type'],
|
||||||
'modified' => ['type' => 'timestamp', 'not null' => true, 'default' => 'CURRENT_TIMESTAMP', 'description' => 'date this record was modified'],
|
'modified' => ['type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'],
|
||||||
],
|
],
|
||||||
'primary key' => ['type'],
|
'primary key' => ['type'],
|
||||||
'unique keys' => [
|
'unique keys' => [
|
||||||
|
|
|
@ -51,7 +51,7 @@ class User_openid_prefs extends Managed_DataObject
|
||||||
public $user_id; // The User with the prefs
|
public $user_id; // The User with the prefs
|
||||||
public $hide_profile_link; // Hide the link on the profile block?
|
public $hide_profile_link; // Hide the link on the profile block?
|
||||||
public $created; // datetime
|
public $created; // datetime
|
||||||
public $modified; // datetime
|
public $modified; // timestamp
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The One True Thingy that must be defined and declared.
|
* The One True Thingy that must be defined and declared.
|
||||||
|
@ -77,13 +77,11 @@ class User_openid_prefs extends Managed_DataObject
|
||||||
'type' => 'datetime',
|
'type' => 'datetime',
|
||||||
'not null' => true,
|
'not null' => true,
|
||||||
'description' => 'date this record was created',
|
'description' => 'date this record was created',
|
||||||
'default' => 'CURRENT_TIMESTAMP'
|
|
||||||
],
|
],
|
||||||
'modified' => [
|
'modified' => [
|
||||||
'type' => 'timestamp',
|
'type' => 'timestamp',
|
||||||
'not null' => true,
|
'not null' => true,
|
||||||
'description' => 'date this record was modified',
|
'description' => 'date this record was modified',
|
||||||
'default' => 'CURRENT_TIMESTAMP'
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'primary key' => ['user_id'],
|
'primary key' => ['user_id'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user