nextcloud/docs/owncloud.sql

135 lines
4.0 KiB
MySQL
Raw Normal View History

2011-04-16 12:41:41 +04:00
-- phpMyAdmin SQL Dump
2011-07-23 00:47:44 +04:00
-- version 3.4.3.1deb1
2011-04-16 12:41:41 +04:00
-- http://www.phpmyadmin.net
--
-- Host: localhost
2011-07-23 00:47:44 +04:00
-- Generation Time: Jul 22, 2011 at 10:38 PM
-- Server version: 5.1.58
-- PHP Version: 5.3.6-13
2011-04-16 12:41:41 +04:00
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
2011-07-23 00:47:44 +04:00
SET time_zone = "+00:00";
2011-04-16 12:41:41 +04:00
--
2011-07-23 00:47:44 +04:00
-- Database: `owncloud`
2011-04-16 12:41:41 +04:00
--
-- --------------------------------------------------------
--
2011-07-23 00:47:44 +04:00
-- Table structure for table `appconfig`
2011-04-16 12:41:41 +04:00
--
CREATE TABLE IF NOT EXISTS `appconfig` (
`appid` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`configkey` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`configvalue` varchar(255) COLLATE utf8_unicode_ci NOT NULL
2011-04-16 12:41:41 +04:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2011-07-23 00:47:44 +04:00
-- --------------------------------------------------------
2011-04-16 12:41:41 +04:00
--
2011-07-23 00:47:44 +04:00
-- Table structure for table `foldersize`
2011-04-16 12:41:41 +04:00
--
2011-07-23 00:47:44 +04:00
CREATE TABLE IF NOT EXISTS `foldersize` (
`path` varchar(512) COLLATE utf8_unicode_ci NOT NULL,
`size` int(11) NOT NULL,
KEY `PATH_INDEX` (`path`(333))
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2011-04-16 12:41:41 +04:00
-- --------------------------------------------------------
--
2011-07-23 00:47:44 +04:00
-- Table structure for table `groups`
2011-04-16 12:41:41 +04:00
--
CREATE TABLE IF NOT EXISTS `groups` (
`gid` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`gid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
2011-07-23 00:47:44 +04:00
-- Table structure for table `group_user`
2011-04-16 12:41:41 +04:00
--
CREATE TABLE IF NOT EXISTS `group_user` (
`gid` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
`uid` varchar(64) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
2011-07-23 00:47:44 +04:00
-- Table structure for table `locks`
2011-04-16 12:41:41 +04:00
--
CREATE TABLE IF NOT EXISTS `locks` (
2011-07-23 00:47:44 +04:00
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
`owner` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`timeout` int(10) unsigned DEFAULT NULL,
`created` int(11) DEFAULT NULL,
`token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`scope` tinyint(4) DEFAULT NULL,
`depth` tinyint(4) DEFAULT NULL,
`uri` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
2011-04-16 12:41:41 +04:00
-- --------------------------------------------------------
--
2011-07-23 00:47:44 +04:00
-- Table structure for table `log`
2011-04-16 12:41:41 +04:00
--
CREATE TABLE IF NOT EXISTS `log` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`moment` datetime NOT NULL,
2011-04-16 12:41:41 +04:00
`appid` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`user` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`action` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`info` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
2011-07-23 00:47:44 +04:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3437 ;
2011-04-16 12:41:41 +04:00
-- --------------------------------------------------------
--
2011-07-23 00:47:44 +04:00
-- Table structure for table `preferences`
2011-04-16 12:41:41 +04:00
--
CREATE TABLE IF NOT EXISTS `preferences` (
`userid` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`appid` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`configkey` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`configvalue` varchar(255) COLLATE utf8_unicode_ci NOT NULL
2011-04-16 12:41:41 +04:00
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
2011-07-23 00:47:44 +04:00
-- Table structure for table `properties`
2011-04-16 12:41:41 +04:00
--
CREATE TABLE IF NOT EXISTS `properties` (
2011-07-23 00:47:44 +04:00
`userid` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
`propertypath` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`propertyname` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`propertyvalue` text COLLATE utf8_unicode_ci NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2011-04-16 12:41:41 +04:00
-- --------------------------------------------------------
--
2011-07-23 00:47:44 +04:00
-- Table structure for table `users`
2011-04-16 12:41:41 +04:00
--
CREATE TABLE IF NOT EXISTS `users` (
`uid` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;