如何停止执行(默认):同步同步时删除表

时间:2018-11-09 07:57:25

标签: node.js express sequelize.js

我想停止序列化删除表,这使我在每次重新启动服务器时都很难再次添加虚拟数据。

server running on port 3000
Executing (default): DROP TABLE IF EXISTS `teams`;
Executing (default): DROP TABLE IF EXISTS `teams`;
Executing (default): CREATE TABLE IF NOT EXISTS `teams` (`teamId` INTEGER auto_increment , `teamName` VARCHAR(255), `teamEmail` VARCHAR(255), `college` VARCHAR(255), `isPaid` TINYINT(1) NOT NULL DEFAULT false, `isRone` TINYINT(1) NOT NULL DEFAULT false, `isRtwo` TINYINT(1) NOT NULL DEFAULT false, `isRthree` TINYINT(1) NOT NULL DEFAULT false, `isNIT` TINYINT(1) NOT NULL DEFAULT false, `createdAt` DATETIME NOT NULL, `updatedAt` DATETIME NOT NULL, PRIMARY KEY (`teamId`)) ENGINE=InnoDB;
Executing (default): SHOW INDEX FROM `teams` FROM `startupconclave`
Nice! Database looks fine

1 个答案:

答案 0 :(得分:2)

使用import boto3 from pprint import pprint ec2 = boto3.resource('ec2') instances = ec2.instances.filter() for instance in instances: for interface in instance.network_interfaces: if interface.association_attribute is not None: pprint (interface.association_attribute) 方法从 zipkin: sender: type: web baseUrl: http://192.168.0.207:9411 sleuth: sampler: percentage: 1.0 脚本中删除{force: true}