-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathdonations.sql
72 lines (58 loc) · 1.94 KB
/
donations.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
-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Tempo de geração: 20-Out-2023 às 00:10
-- Versão do servidor: 10.4.25-MariaDB
-- versão do PHP: 8.1.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: `your_site`
--
-- --------------------------------------------------------
--
-- Estrutura da tabela `donations`
--
CREATE TABLE `donations` (
`id` int(11) NOT NULL,
`external_reference` varchar(255) NOT NULL,
`nickname` varchar(75) NOT NULL,
`email` varchar(125) NOT NULL,
`message` varchar(450) DEFAULT NULL,
`status` varchar(35) NOT NULL,
`value` float NOT NULL,
`created_at` datetime NOT NULL DEFAULT current_timestamp(),
`updated_at` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Extraindo dados da tabela `donations`
--
INSERT INTO `donations` (`id`, `external_reference`, `nickname`, `email`, `message`, `status`, `value`, `created_at`, `updated_at`) VALUES
(8, '$2y$10$vL8aaorLVNtWv.oxD0mIIOTBAip33QFJW25ls1mkK07IA.h.ES1p.', 'Henrique', 'teste@email.com', 'mensagem qualquer', 'approved', 0.5, '2023-10-19 18:15:53', '2023-10-19 18:15:53');
--
-- Índices para tabelas despejadas
--
--
-- Índices para tabela `donations`
--
ALTER TABLE `donations`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT de tabelas despejadas
--
--
-- AUTO_INCREMENT de tabela `donations`
--
ALTER TABLE `donations`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
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 */;