Subversion Repositories php-qbpwcf

Rev

Rev 87 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 liveuser 1
/*
2
	QBPWCF, Quick Build PHP website Component base on Fedora Linux.
3
    Copyright (C) 2015~2022 Min-Jhin,Chen
4
 
5
    This file is part of QBPWCF.
6
 
7
    QBPWCF is free software: you can redistribute it and/or modify
8
    it under the terms of the GNU General Public License as published by
9
    the Free Software Foundation, either version 3 of the License, or
10
    (at your option) any later version.
11
 
12
    QBPWCF is distributed in the hope that it will be useful,
13
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
    GNU General Public License for more details.
16
 
17
    You should have received a copy of the GNU General Public License
18
    along with QBPWCF.  If not, see <http://www.gnu.org/licenses/>.
19
*/
20
 
21
-- phpMyAdmin SQL Dump
22
-- version 5.0.4
23
-- https://www.phpmyadmin.net/
24
--
25
-- Host: localhost
26
-- Generation Time: Nov 16, 2020 at 12:23 PM
27
-- Server version: 10.4.16-MariaDB
28
-- PHP Version: 7.4.12
29
 
30
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
31
START TRANSACTION;
32
SET time_zone = "+00:00";
33
 
34
 
35
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
36
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
37
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
38
/*!40101 SET NAMES utf8mb4 */;
39
 
40
--
41
-- Database: `qbpwcf`
42
--
43
 
44
-- --------------------------------------------------------
45
 
46
--
47
-- Table structure for table `call_record`
48
--
49
 
50
CREATE TABLE `call_record` (
51
  `id` int(11) NOT NULL,
52
  `json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'json data'
53
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='記錄有撥打電話的用戶';
54
 
55
--
56
-- Indexes for dumped tables
57
--
58
 
59
--
60
-- Indexes for table `call_record`
61
--
62
ALTER TABLE `call_record`
63
  ADD PRIMARY KEY (`id`);
64
 
65
--
66
-- AUTO_INCREMENT for dumped tables
67
--
68
 
69
--
70
-- AUTO_INCREMENT for table `call_record`
71
--
72
ALTER TABLE `call_record`
73
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
74
COMMIT;
75
 
76
-- change column type to json
77
ALTER TABLE `call_record` CHANGE `json` `json` JSON NOT NULL COMMENT 'json data'; 
78
 
79
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
80
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
81
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;