-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestnodeapp_db.sql
More file actions
74 lines (60 loc) · 2 KB
/
testnodeapp_db.sql
File metadata and controls
74 lines (60 loc) · 2 KB
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
-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 11, 2023 at 09:44 PM
-- Server version: 10.4.28-MariaDB
-- PHP Version: 8.1.17
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 */;
--
-- Database: `testnodeapp_db`
--
-- --------------------------------------------------------
--
-- Table structure for table `notes`
--
CREATE TABLE `notes` (
`note_id` int(11) NOT NULL,
`title` varchar(100) NOT NULL,
`contents` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `notes`
--
INSERT INTO `notes` (`note_id`, `title`, `contents`, `created_at`) VALUES
(1, 'Note 1', 'This is note 1 content', '2023-05-09 13:14:17'),
(2, 'Note 22', 'This is note 22 content', '2023-05-09 13:16:52'),
(4, 'Note 4', 'This is note 4 content', '2023-05-11 01:52:42'),
(5, 'Note 5', 'This is note 5 content', '2023-05-11 01:52:56'),
(6, 'Note 6', 'This is Note 6 content.', '2023-05-11 16:44:51'),
(7, 'Note 7', 'This is Note 7 content.', '2023-05-11 16:52:08'),
(10, 'Note 10', 'This is Note 10 content', '2023-05-11 17:07:27'),
(11, 'Note 111', 'This is Note 11 content', '2023-05-11 17:07:39');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `notes`
--
ALTER TABLE `notes`
ADD PRIMARY KEY (`note_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `notes`
--
ALTER TABLE `notes`
MODIFY `note_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
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 */;