-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnotify.sql
87 lines (70 loc) · 1.96 KB
/
notify.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
-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Tempo de geração: 27/08/2024 às 08:48
-- Versão do servidor: 10.3.39-MariaDB-0ubuntu0.20.04.2
-- Versão do PHP: 8.3.10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
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 utf8mb4 */;
--
-- Banco de dados: `notify`
--
-- --------------------------------------------------------
--
-- Estrutura para tabela `correios`
--
CREATE TABLE `correios` (
`code` varchar(25) NOT NULL,
`content` text NOT NULL,
`origem` varchar(250) NOT NULL,
`destino` varchar(250) NOT NULL,
`last_status` datetime DEFAULT NULL,
`id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- --------------------------------------------------------
--
-- Estrutura para tabela `track`
--
CREATE TABLE `track` (
`code` varchar(25) NOT NULL,
`finished` int(11) NOT NULL DEFAULT 0,
`id` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Índices para tabelas despejadas
--
--
-- Índices de tabela `correios`
--
ALTER TABLE `correios`
ADD PRIMARY KEY (`id`);
--
-- Índices de tabela `track`
--
ALTER TABLE `track`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT para tabelas despejadas
--
--
-- AUTO_INCREMENT de tabela `correios`
--
ALTER TABLE `correios`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de tabela `track`
--
ALTER TABLE `track`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;
/*!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 */;