summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Application.Migration.Files.20200818_60.SQL
diff options
context:
space:
mode:
Diffstat (limited to 'Codemerx/Gestor.Application.Migration.Files.20200818_60.SQL')
-rw-r--r--Codemerx/Gestor.Application.Migration.Files.20200818_60.SQL16
1 files changed, 16 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Application.Migration.Files.20200818_60.SQL b/Codemerx/Gestor.Application.Migration.Files.20200818_60.SQL
new file mode 100644
index 0000000..efd8526
--- /dev/null
+++ b/Codemerx/Gestor.Application.Migration.Files.20200818_60.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] = 2 AND [IdUsuario] = 0)
+BEGIN
+ INSERT INTO [dbo].[CamposRelatorios]
+VALUES
+ ( 0, 2, 'Cliente', NULL, 0, NULL, 1 ),
+ ( 0, 2, 'Apolice', 'APÓLICE', 0, NULL, 2 ),
+ ( 0, 2, 'Endosso', NULL, 0, NULL, 3 ),
+ ( 0, 2, 'Status', NULL, 0, NULL, 4 ),
+ ( 0, 2, 'VigenciaInicial', 'VIGÊNCIA INICIAL', 0, 'DATA?', 5 ),
+ ( 0, 2, 'Comissao', 'COMISSÃO', 0, 'PERCENTUAL', 6 ),
+ ( 0, 2, 'PremioLiquido', 'PRÊMIO LÍQUIDO', 0, 'VALOR', 7 ),
+ ( 0, 2, 'Seguradora', NULL, 0, NULL, 8 ),
+ ( 0, 2, 'Ramo', NULL, 0, NULL, 9 ),
+ ( 0, 2, 'Vendedor', 'VENDEDOR PRINCIPAL', 0, NULL, 10 ),
+ ( 0, 2, 'Item', NULL, 0, NULL, 11 );
+END \ No newline at end of file