2023-11-25 15:18:09 +08:00
|
|
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
|
|
|
SET AUTOCOMMIT = 0;
|
|
|
|
START TRANSACTION;
|
|
|
|
SET time_zone = "+08: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 */
|
|
|
|
;
|
|
|
|
--
|
|
|
|
-- 数据库: `nows`
|
|
|
|
--
|
|
|
|
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
|
|
-- 表的结构 `soul`
|
|
|
|
--
|
|
|
|
|
|
|
|
CREATE TABLE `soul` (
|
|
|
|
`id` int(11) NOT NULL,
|
|
|
|
`title` varchar(300) NOT NULL,
|
2023-11-25 17:41:02 +08:00
|
|
|
`author` varchar(30),
|
|
|
|
`from` varchar(30)
|
2023-11-25 15:18:09 +08:00
|
|
|
) ENGINE = InnoDB DEFAULT CHARSET = utf8;
|
|
|
|
--
|
|
|
|
-- 转储表的索引
|
|
|
|
--
|
|
|
|
|
|
|
|
--
|
|
|
|
-- 表的索引 `soul`
|
|
|
|
--
|
|
|
|
ALTER TABLE `soul`
|
|
|
|
ADD PRIMARY KEY (`id`);
|
|
|
|
--
|
|
|
|
-- 在导出的表使用AUTO_INCREMENT
|
|
|
|
--
|
|
|
|
|
|
|
|
--
|
|
|
|
-- 使用表AUTO_INCREMENT `soul`
|
|
|
|
--
|
|
|
|
ALTER TABLE `soul`
|
|
|
|
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
AUTO_INCREMENT = 1;
|
|
|
|
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 */
|
|
|
|
;
|