Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions src/Tests/Tests.Schema.verified.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,19 @@ CREATE TABLE [dbo].[ParentTable](
) ON [PRIMARY]
```

### SchemaTable

```sql
CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]
```

### WithComputed

```sql
Expand Down Expand Up @@ -212,19 +225,6 @@ CREATE TABLE [dbo].[WithDefaults](
) ON [PRIMARY]
```

### SchemaTable

```sql
CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]
```

## Views

### MyView
Expand Down Expand Up @@ -384,20 +384,20 @@ END;

## Synonyms

### synonym1
### SchemaSynonym

```sql
CREATE SYNONYM [dbo].[synonym1] FOR [MyTable]
CREATE SYNONYM [TestSchema].[SchemaSynonym] FOR [TestSchema].[SchemaTable]
```

### synonym2
### synonym1

```sql
CREATE SYNONYM [dbo].[synonym2] FOR [ParentTable]
CREATE SYNONYM [dbo].[synonym1] FOR [MyTable]
```

### SchemaSynonym
### synonym2

```sql
CREATE SYNONYM [TestSchema].[SchemaSynonym] FOR [TestSchema].[SchemaTable]
CREATE SYNONYM [dbo].[synonym2] FOR [ParentTable]
```
38 changes: 19 additions & 19 deletions src/Tests/Tests.SchemaAsMarkdown.verified.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,19 @@ CREATE TABLE [dbo].[ParentTable](
) ON [PRIMARY]
```

### SchemaTable

```sql
CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]
```

### WithComputed

```sql
Expand Down Expand Up @@ -212,19 +225,6 @@ CREATE TABLE [dbo].[WithDefaults](
) ON [PRIMARY]
```

### SchemaTable

```sql
CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]
```

## Views

### MyView
Expand Down Expand Up @@ -384,20 +384,20 @@ END;

## Synonyms

### synonym1
### SchemaSynonym

```sql
CREATE SYNONYM [dbo].[synonym1] FOR [MyTable]
CREATE SYNONYM [TestSchema].[SchemaSynonym] FOR [TestSchema].[SchemaTable]
```

### synonym2
### synonym1

```sql
CREATE SYNONYM [dbo].[synonym2] FOR [ParentTable]
CREATE SYNONYM [dbo].[synonym1] FOR [MyTable]
```

### SchemaSynonym
### synonym2

```sql
CREATE SYNONYM [TestSchema].[SchemaSynonym] FOR [TestSchema].[SchemaTable]
CREATE SYNONYM [dbo].[synonym2] FOR [ParentTable]
```
24 changes: 12 additions & 12 deletions src/Tests/Tests.SchemaAsSql.verified.sql
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,15 @@ CREATE TABLE [dbo].[ParentTable](
) ON [PRIMARY]
) ON [PRIMARY]

CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]

CREATE TABLE [dbo].[WithComputed](
[Id] [int] IDENTITY(1,1) NOT NULL,
[FirstName] [nvarchar](50) NOT NULL,
Expand All @@ -172,15 +181,6 @@ CREATE TABLE [dbo].[WithDefaults](
) ON [PRIMARY]
) ON [PRIMARY]

CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]

-- Views

CREATE VIEW MyView
Expand Down Expand Up @@ -292,8 +292,8 @@ END;

-- Synonyms

CREATE SYNONYM [dbo].[synonym1] FOR [MyTable]
CREATE SYNONYM [TestSchema].[SchemaSynonym] FOR [TestSchema].[SchemaTable]

CREATE SYNONYM [dbo].[synonym2] FOR [ParentTable]
CREATE SYNONYM [dbo].[synonym1] FOR [MyTable]

CREATE SYNONYM [TestSchema].[SchemaSynonym] FOR [TestSchema].[SchemaTable]
CREATE SYNONYM [dbo].[synonym2] FOR [ParentTable]
26 changes: 13 additions & 13 deletions src/Tests/Tests.SchemaFilter.verified.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,19 @@ CREATE TABLE [dbo].[ParentTable](
) ON [PRIMARY]
```

### SchemaTable

```sql
CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]
```

### WithComputed

```sql
Expand Down Expand Up @@ -212,19 +225,6 @@ CREATE TABLE [dbo].[WithDefaults](
) ON [PRIMARY]
```

### SchemaTable

```sql
CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]
```

## Views

### MyView
Expand Down
38 changes: 19 additions & 19 deletions src/Tests/Tests.SchemaInDynamic.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,19 @@ CREATE TABLE [dbo].[ParentTable](
) ON [PRIMARY]
```

### SchemaTable

```sql
CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]
```

### WithComputed

```sql
Expand Down Expand Up @@ -214,19 +227,6 @@ CREATE TABLE [dbo].[WithDefaults](
) ON [PRIMARY]
```

### SchemaTable

```sql
CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]
```

## Views

### MyView
Expand Down Expand Up @@ -386,21 +386,21 @@ END;

## Synonyms

### synonym1
### SchemaSynonym

```sql
CREATE SYNONYM [dbo].[synonym1] FOR [MyTable]
CREATE SYNONYM [TestSchema].[SchemaSynonym] FOR [TestSchema].[SchemaTable]
```

### synonym2
### synonym1

```sql
CREATE SYNONYM [dbo].[synonym2] FOR [ParentTable]
CREATE SYNONYM [dbo].[synonym1] FOR [MyTable]
```

### SchemaSynonym
### synonym2

```sql
CREATE SYNONYM [TestSchema].[SchemaSynonym] FOR [TestSchema].[SchemaTable]
CREATE SYNONYM [dbo].[synonym2] FOR [ParentTable]
```
}
26 changes: 13 additions & 13 deletions src/Tests/Tests.SchemaInclude.verified.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,19 @@ CREATE TABLE [dbo].[ParentTable](
) ON [PRIMARY]
```

### SchemaTable

```sql
CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]
```

### WithComputed

```sql
Expand Down Expand Up @@ -212,19 +225,6 @@ CREATE TABLE [dbo].[WithDefaults](
) ON [PRIMARY]
```

### SchemaTable

```sql
CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]
```

## Views

### MyView
Expand Down
38 changes: 19 additions & 19 deletions src/Tests/Tests.SchemaIncludeAll.verified.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,19 @@ CREATE TABLE [dbo].[ParentTable](
) ON [PRIMARY]
```

### SchemaTable

```sql
CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]
```

### WithComputed

```sql
Expand Down Expand Up @@ -212,19 +225,6 @@ CREATE TABLE [dbo].[WithDefaults](
) ON [PRIMARY]
```

### SchemaTable

```sql
CREATE TABLE [TestSchema].[SchemaTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_SchemaTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]
```

## Views

### MyView
Expand Down Expand Up @@ -384,20 +384,20 @@ END;

## Synonyms

### synonym1
### SchemaSynonym

```sql
CREATE SYNONYM [dbo].[synonym1] FOR [MyTable]
CREATE SYNONYM [TestSchema].[SchemaSynonym] FOR [TestSchema].[SchemaTable]
```

### synonym2
### synonym1

```sql
CREATE SYNONYM [dbo].[synonym2] FOR [ParentTable]
CREATE SYNONYM [dbo].[synonym1] FOR [MyTable]
```

### SchemaSynonym
### synonym2

```sql
CREATE SYNONYM [TestSchema].[SchemaSynonym] FOR [TestSchema].[SchemaTable]
CREATE SYNONYM [dbo].[synonym2] FOR [ParentTable]
```
Loading
Loading