-
Notifications
You must be signed in to change notification settings - Fork 41
/
diario.sql
50 lines (40 loc) · 1.39 KB
/
diario.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
-- phpMyAdmin SQL Dump
-- version 4.1.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 20-Mar-2015 às 13:35
-- Versão do servidor: 5.6.17
-- PHP Version: 5.5.12
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: `diario`
--
-- --------------------------------------------------------
--
-- Estrutura da tabela `conteudo`
--
CREATE TABLE IF NOT EXISTS `conteudo` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`titulo` varchar(120) NOT NULL,
`descricao` longtext NOT NULL,
`horario` varchar(30) NOT NULL,
`curso_id` int(30) NOT NULL,
`periodo_id` int(30) NOT NULL,
`disciplina_id` int(30) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ;
--
-- Extraindo dados da tabela `conteudo`
--
INSERT INTO `conteudo` (`id`, `titulo`, `descricao`, `horario`, `curso_id`, `periodo_id`, `disciplina_id`) VALUES
(8, 'algoritmo', 'aula de array', '15:00', 5, 4, 5);
/*!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 */;