✏️ 正在编辑: n-2027.sql
路径:
/srv/systems_dir/yuppiecred/data/database/n-2027.sql
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Author: yuppie * Created: 25/06/2018 */ ALTER TABLE `tb_tabelas_fatores` ADD COLUMN `tipo` VARCHAR(45) NULL AFTER `convenio_id`; SET NAMES 'utf8'; INSERT INTO `tb_resources` (`descricao`, `resource`, `excluido`, `extra`) SELECT * FROM (SELECT 'Comissões em Simulador de Crédito', 'simulador-credito', '0', '1') AS tmp WHERE NOT EXISTS ( SELECT resource FROM `tb_resources` WHERE resource = 'simulador-credito' ) LIMIT 1; UPDATE `tb_resources` SET descricao = 'Comissões em Simulador de Crédito' WHERE resource = 'simulador-credito';
💾 保存文件
← 返回文件管理器