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