From ca6aeb3e46649bd356b2360f2ead926e0fb232a3 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Fri, 13 Aug 2021 20:42:28 +0300 Subject: [PATCH] added RPi machines --- .../Scripts/003.Added RPi machines.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/api/NetworkResurrector.Api.Domain.Data/Scripts/003.Added RPi machines.sql diff --git a/src/api/NetworkResurrector.Api.Domain.Data/Scripts/003.Added RPi machines.sql b/src/api/NetworkResurrector.Api.Domain.Data/Scripts/003.Added RPi machines.sql new file mode 100644 index 0000000..83fa3c2 --- /dev/null +++ b/src/api/NetworkResurrector.Api.Domain.Data/Scripts/003.Added RPi machines.sql @@ -0,0 +1,13 @@ +if not exists (select top 1 1 from Machine where MachineName = '***REMOVED***') +begin + insert into Machine(MachineName, FullMachineName, MACAddress, IPv4Address, [Description]) + select '***REMOVED***', '***REMOVED***', '***REMOVED***', '***REMOVED***', 'Raspberry Pi 3 Model B server' +end +go + +if not exists (select top 1 1 from Machine where MachineName = '***REMOVED***') +begin + insert into Machine(MachineName, FullMachineName, MACAddress, IPv4Address, [Description]) + select '***REMOVED***', '***REMOVED***', '***REMOVED***', '***REMOVED***', 'Raspberry Pi 2 Model B server' +end +go \ No newline at end of file