-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbrainspell_db.sql
91 lines (74 loc) · 3.09 KB
/
brainspell_db.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
-- phpMyAdmin SQL Dump
-- version 4.0.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 19, 2015 at 10:20 AM
-- Server version: 5.6.11
-- PHP Version: 5.5.29
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `brainspell`
--
-- --------------------------------------------------------
--
-- Table structure for table `Articles`
--
CREATE TABLE IF NOT EXISTS `Articles` (
`UniqueID` int(25) NOT NULL AUTO_INCREMENT,
`TIMESTAMP` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`Title` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`Authors` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`Abstract` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`Reference` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`PMID` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`DOI` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`Experiments` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`Metadata` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`UniqueID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=12498 ;
-- --------------------------------------------------------
--
-- Table structure for table `Concepts`
--
CREATE TABLE IF NOT EXISTS `Concepts` (
`UniqueID` int(25) NOT NULL AUTO_INCREMENT,
`Name` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`Ontology` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`Definition` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`Metadata` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`UniqueID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=10290 ;
-- --------------------------------------------------------
--
-- Table structure for table `Log`
--
CREATE TABLE IF NOT EXISTS `Log` (
`UniqueID` int(25) NOT NULL AUTO_INCREMENT,
`TIMESTAMP` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`UserName` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`Experiment` int(11) NOT NULL,
`PMID` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`Type` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`Data` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`UniqueID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1636 ;
-- --------------------------------------------------------
--
-- Table structure for table `Users`
--
CREATE TABLE IF NOT EXISTS `Users` (
`UserID` int(25) NOT NULL AUTO_INCREMENT,
`Username` varchar(65) NOT NULL,
`Password` varchar(32) NOT NULL,
`EmailAddress` varchar(255) NOT NULL,
PRIMARY KEY (`UserID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;