Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
owncloud-prm /
core /
Migrations /
Delete
Unzip
Name
Size
Permission
Date
Action
Version20170101010100.php
21.05
KB
-rw-r--r--
2018-04-19 18:15
Version20170101215145.php
4.5
KB
-rw-r--r--
2018-04-19 18:15
Version20170111103310.php
4.2
KB
-rw-r--r--
2018-04-19 18:15
Version20170213215145.php
532
B
-rw-r--r--
2018-04-19 18:15
Version20170214112458.php
1.46
KB
-rw-r--r--
2018-04-19 18:15
Version20170221114437.php
953
B
-rw-r--r--
2018-04-19 18:15
Version20170221121536.php
1.7
KB
-rw-r--r--
2018-04-19 18:15
Version20170315173825.php
3.53
KB
-rw-r--r--
2018-04-19 18:15
Version20170320173955.php
1.21
KB
-rw-r--r--
2018-04-19 18:15
Version20170418154659.php
1.32
KB
-rw-r--r--
2018-04-19 18:15
Version20170516100103.php
2.17
KB
-rw-r--r--
2018-04-19 18:15
Version20170526104128.php
1.57
KB
-rw-r--r--
2018-04-19 18:15
Version20170605143658.php
745
B
-rw-r--r--
2018-04-19 18:15
Version20170711191432.php
673
B
-rw-r--r--
2018-04-19 18:15
Version20170804201253.php
1.07
KB
-rw-r--r--
2018-04-19 18:15
Version20170928120000.php
628
B
-rw-r--r--
2018-04-19 18:15
Version20171026130750.php
787
B
-rw-r--r--
2018-04-19 18:15
Version20180123131835.php
880
B
-rw-r--r--
2018-04-19 18:15
Version20180319102121.php
543
B
-rw-r--r--
2018-04-19 18:15
Save
Rename
<?php /** * @author Vincent Petry <pvince81@owncloud.com> * * @copyright Copyright (c) 2018, ownCloud GmbH * @license AGPL-3.0 * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License, version 3, * along with this program. If not, see <http://www.gnu.org/licenses/> * */ namespace OC\Migrations; use Doctrine\DBAL\Schema\Schema; use OCP\Migration\ISchemaMigration; /** * Initial DB creation for share table */ class Version20170315173825 implements ISchemaMigration { public function changeSchema(Schema $schema, array $options) { $prefix = $options['tablePrefix']; if (!$schema->hasTable("${prefix}share")) { $table = $schema->createTable("${prefix}share"); $table->addColumn('id', 'integer', [ 'autoincrement' => true, 'notnull' => true, ]); // Constant OCP\Share::SHARE_TYPE_* $table->addColumn('share_type', 'smallint', [ 'notnull' => true, 'default' => 0, ]); // Foreign Key users::uid or NULL $table->addColumn('share_with', 'string', [ 'notnull' => false, 'length' => 255, ]); // Foreign Key users::uid // This is the owner of the share // which does not have to be the initiator of the share --> $table->addColumn('uid_owner', 'string', [ 'default' => '', 'notnull' => true, 'length' => 64, ]); // Foreign Key users::uid // This is the initiator of the share $table->addColumn('uid_initiator', 'string', [ 'notnull' => false, 'length' => 64, ]); // Foreign Key share:.id or NULL $table->addColumn('parent', 'integer', [ 'notnull' => false, ]); // eg: "file" or "folder" $table->addColumn('item_type', 'string', [ 'default' => '', 'notnull' => true, 'length' => 64, ]); // Foreign Key filecache::fileid $table->addColumn('item_source', 'string', [ 'notnull' => false, 'length' => 255, ]); $table->addColumn('item_target', 'string', [ 'notnull' => false, 'length' => 255, ]); // Foreign Key filecache::fileid $table->addColumn('file_source', 'integer', [ 'notnull' => false, ]); $table->addColumn('file_target', 'string', [ 'notnull' => false, 'length' => 512, ]); // Permission bitfield $table->addColumn('permissions', 'smallint', [ 'default' => 0, 'notnull' => true, ]); // Time of share creation $table->addColumn('stime', 'bigint', [ 'default' => 0, 'notnull' => true, ]); // Whether the receiver accepted the share, if share_with is set. $table->addColumn('accepted', 'smallint', [ 'default' => 0, 'notnull' => true, ]); // Time of share expiration $table->addColumn('expiration', 'datetime', [ 'notnull' => false, ]); // Public share token $table->addColumn('token', 'string', [ 'notnull' => false, 'length' => 32, ]); $table->addColumn('mail_send', 'smallint', [ 'default' => 0, 'notnull' => true, ]); $table->setPrimaryKey(['id']); $table->addIndex(['item_type', 'share_type'], 'item_share_type_index'); $table->addIndex(['file_source'], 'file_source_index'); $table->addIndex(['token'], 'token_index'); } } }