Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/red-gate/OctoPilot
Browse files Browse the repository at this point in the history
  • Loading branch information
WIN2016\redgate committed Mar 29, 2024
2 parents 424d056 + 1873291 commit 5a83b74
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 0 deletions.
9 changes: 9 additions & 0 deletions migrations/U014_20240307182215__UNDO-redgate.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
SET NUMERIC_ROUNDABORT OFF
GO
SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT, QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
PRINT N'Dropping [dbo].[HuxleyTable]'
GO
DROP TABLE [dbo].[HuxleyTable]
GO

15 changes: 15 additions & 0 deletions migrations/U014_20240314225117__UNDO-redgate.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
SET NUMERIC_ROUNDABORT OFF
GO
SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT, QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
PRINT N'Altering [dbo].[GetAllWidgets]'
GO
ALTER PROCEDURE [dbo].[GetAllWidgets]
AS
BEGIN
SELECT RecordID,
Description
FROM Widgets
END
GO

14 changes: 14 additions & 0 deletions migrations/V014_20240307182215__redgate.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SET NUMERIC_ROUNDABORT OFF
GO
SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT, QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
PRINT N'Creating [dbo].[HuxleyTable]'
GO
CREATE TABLE [dbo].[HuxleyTable]
(
[FirstName] [nchar] (10) NULL,
[LastName] [nchar] (10) NULL,
[Address] [nchar] (10) NULL
)
GO

17 changes: 17 additions & 0 deletions migrations/V014_20240314225117__redgate.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
SET NUMERIC_ROUNDABORT OFF
GO
SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT, QUOTED_IDENTIFIER, ANSI_NULLS ON
GO
PRINT N'Altering [dbo].[GetAllWidgets]'
GO

ALTER PROCEDURE [dbo].[GetAllWidgets]
AS
BEGIN
--comment
SELECT RecordID,
Description
FROM Widgets
END
GO

1 change: 1 addition & 0 deletions schema-model/Stored Procedures/dbo.GetAllWidgets.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ GO
CREATE PROCEDURE [dbo].[GetAllWidgets]
AS
BEGIN
--comment
SELECT RecordID,
Description
FROM Widgets
Expand Down
7 changes: 7 additions & 0 deletions schema-model/Tables/dbo.HuxleyTable.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CREATE TABLE [dbo].[HuxleyTable]
(
[FirstName] [nchar] (10) NULL,
[LastName] [nchar] (10) NULL,
[Address] [nchar] (10) NULL
)
GO

0 comments on commit 5a83b74

Please sign in to comment.