diff options
Diffstat (limited to 'Codemerx/Gestor.Application.Migration.Files.20210614_138.SQL')
| -rw-r--r-- | Codemerx/Gestor.Application.Migration.Files.20210614_138.SQL | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Application.Migration.Files.20210614_138.SQL b/Codemerx/Gestor.Application.Migration.Files.20210614_138.SQL new file mode 100644 index 0000000..fd7be84 --- /dev/null +++ b/Codemerx/Gestor.Application.Migration.Files.20210614_138.SQL @@ -0,0 +1,16 @@ +IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'CamposRelatorios') AND NOT EXISTS(SELECT 1 FROM [dbo].[CamposRelatorios] WHERE [Relatorio] = 17 AND [IdUsuario] = 0)
+BEGIN
+ INSERT INTO [dbo].[CamposRelatorios]
+VALUES
+(0, 17, N'Vencimento', N'VENCIMENTO', NULL, N'', 0),
+(0, 17, N'Cliente', N'CLIENTE', NULL, N'', 1),
+(0, 17, N'Telefone', N'TELEFONE', NULL, N'', 2),
+(0, 17, N'Email', N'E-MAIL', NULL, N'', 3),
+(0, 17, N'Categoria', N'CATEGORIA', NULL, N'', 5),
+(0, 17, N'Ramo', N'RAMO', NULL, N'', 4),
+(0, 17, N'Item', N'ITEM', NULL, N'', 6),
+(0, 17, N'Placa', N'PLACA', NULL, N'', 7),
+(0, 17, N'Seguradora', N'SEGURADORA', NULL, N'', 8),
+(0, 17, N'Vendedor', N'VENDEDOR PRINCIPAL', NULL, N'', 9),
+(0, 17, N'TodosVendedores', N'TODOS VENDEDORES', NULL, N'', 10)
+END
\ No newline at end of file |