Added new tables object_permission and del_object_permission to store individual file permissions in database.

CREATE TABLE (
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
bigint(64) NOT NULL,
tinyint(3) unsigned NOT NULL,
PRIMARY KEY (,,,,),
KEY (,),
KEY (,),
KEY (,,,)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci

CREATE TABLE (
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
int(10) unsigned NOT NULL,
bigint(64) NOT NULL,
tinyint(3) unsigned NOT NULL,
PRIMARY KEY (,,,,),
KEY (,),
KEY (,),
KEY (,,,)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci