nextcloud/docs/owncloud.sql

135 lines
4.0 KiB
SQL

-- phpMyAdmin SQL Dump
-- version 3.4.3.1deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jul 22, 2011 at 10:38 PM
-- Server version: 5.1.58
-- PHP Version: 5.3.6-13
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `owncloud`
--
-- --------------------------------------------------------
--
-- Table structure for table `appconfig`
--
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
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `foldersize`
--
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;
-- --------------------------------------------------------
--
-- Table structure for table `groups`
--
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;
-- --------------------------------------------------------
--
-- Table structure for table `group_user`
--
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;
-- --------------------------------------------------------
--
-- Table structure for table `locks`
--
CREATE TABLE IF NOT EXISTS `locks` (
`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 ;
-- --------------------------------------------------------
--
-- Table structure for table `log`
--
CREATE TABLE IF NOT EXISTS `log` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`moment` datetime NOT NULL,
`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`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3437 ;
-- --------------------------------------------------------
--
-- Table structure for table `preferences`
--
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
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `properties`
--
CREATE TABLE IF NOT EXISTS `properties` (
`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;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
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;