From 674ca83ba9243a9e95a7568c797668dab6aee26a Mon Sep 17 00:00:00 2001
From: Lucas Faria Mendes <lucas.fariamo08@gmail.com>
Date: Mon, 30 Mar 2026 10:35:25 -0300
Subject: feat: upload files

---
 Gestor.Application.Migration.Files.20200408_29.SQL | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 Gestor.Application.Migration.Files.20200408_29.SQL

(limited to 'Gestor.Application.Migration.Files.20200408_29.SQL')

diff --git a/Gestor.Application.Migration.Files.20200408_29.SQL b/Gestor.Application.Migration.Files.20200408_29.SQL
new file mode 100644
index 0000000..3419e2d
--- /dev/null
+++ b/Gestor.Application.Migration.Files.20200408_29.SQL
@@ -0,0 +1,40 @@
+IF COL_LENGTH('[dbo].[coberturagranizo]', 'datacriacao') IS NULL
+BEGIN
+  ALTER TABLE [dbo].[coberturagranizo] ADD datacriacao DATETIME2 NULL;
+END
+
+IF COL_LENGTH('[dbo].[coberturagranizo]', 'usuariocriacao') IS NULL
+BEGIN
+  ALTER TABLE [dbo].[coberturagranizo] ADD usuariocriacao BIGINT NULL;
+END
+
+IF COL_LENGTH('[dbo].[coberturagranizo]', 'dataalteracao') IS NULL
+BEGIN
+  ALTER TABLE [dbo].[coberturagranizo] ADD dataalteracao DATETIME2 NULL;
+END
+
+IF COL_LENGTH('[dbo].[coberturagranizo]', 'usuarioalteracao') IS NULL
+BEGIN
+  ALTER TABLE [dbo].[coberturagranizo] ADD usuarioalteracao BIGINT NULL;
+END
+
+IF COL_LENGTH('[dbo].[riscosdiversos]', 'datacriacao') IS NULL
+BEGIN
+  ALTER TABLE [dbo].[riscosdiversos] ADD datacriacao DATETIME2 NULL;
+END
+
+IF COL_LENGTH('[dbo].[riscosdiversos]', 'usuariocriacao') IS NULL
+BEGIN
+  ALTER TABLE [dbo].[riscosdiversos] ADD usuariocriacao BIGINT NULL;
+END
+
+IF COL_LENGTH('[dbo].[riscosdiversos]', 'dataalteracao') IS NULL
+BEGIN
+  ALTER TABLE [dbo].[riscosdiversos] ADD dataalteracao DATETIME2 NULL;
+END
+
+IF COL_LENGTH('[dbo].[riscosdiversos]', 'usuarioalteracao') IS NULL
+BEGIN
+  ALTER TABLE [dbo].[riscosdiversos] ADD usuarioalteracao BIGINT NULL;
+END
+
-- 
cgit v1.2.3

