From 1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 Mon Sep 17 00:00:00 2001
From: Lucas Faria Mendes <lucas.fariamo08@gmail.com>
Date: Mon, 30 Mar 2026 10:38:18 -0300
Subject: chore: location

---
 Gestor.Application.Migration.Files.20210607_122.SQL | 11 -----------
 1 file changed, 11 deletions(-)
 delete mode 100644 Gestor.Application.Migration.Files.20210607_122.SQL

(limited to 'Gestor.Application.Migration.Files.20210607_122.SQL')

diff --git a/Gestor.Application.Migration.Files.20210607_122.SQL b/Gestor.Application.Migration.Files.20210607_122.SQL
deleted file mode 100644
index e9ef686..0000000
--- a/Gestor.Application.Migration.Files.20210607_122.SQL
+++ /dev/null
@@ -1,11 +0,0 @@
-DECLARE @has_column NVARCHAR(MAX), @table_name NVARCHAR(MAX), @column_name NVARCHAR(MAX), @column_type NVARCHAR(MAX)
-SET @table_name = '[dbo].[recibo]'
-SET @column_name = 'tiporecibo'
-SELECT @has_column = COL_LENGTH(@table_name, 'tiporecibo')
-
-SELECT @column_type = DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'recibo' AND COLUMN_NAME = 'tiporecibo'
-
-DECLARE @sql NVARCHAR(MAX) = N'ALTER TABLE ' + @table_name + N' ALTER COLUMN ' + @column_name + N' ' + CASE WHEN(@column_type = 'nvarchar' OR @column_type = 'varchar') THEN 'NVARCHAR(255)' ELSE 'INTEGER' END + N' NULL;'
-
-IF @has_column IS NOT NULL
-    exec sp_executesql @sql
\ No newline at end of file
-- 
cgit v1.2.3

