Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate if schema is not existing for scaffolding script #20

Closed
hherzl opened this issue Jan 4, 2023 · 0 comments
Closed

Validate if schema is not existing for scaffolding script #20

hherzl opened this issue Jan 4, 2023 · 0 comments
Assignees

Comments

@hherzl
Copy link
Owner

hherzl commented Jan 4, 2023

Add validation for schema in creation script for tables.

Example:

if not exists (select 1 from sys.schemas where name = 'Billing')
 begin
  exec('create schema Billing')
 end
@hherzl hherzl self-assigned this Jan 4, 2023
hherzl added a commit that referenced this issue Jan 7, 2023
      Upgrade for .NET 6
      Fix issue 21: #21
      Fix issue 20: #20

      Usage:

      var database = await SqlServerDatabaseFactory.ImportAsync("Your connection string!");

      Wiki: https://github.com/hherzl/CatFactory.SqlServer/wiki
hherzl added a commit that referenced this issue Jan 7, 2023
      Upgrade for .NET 6
      Fix issue 20: #20
      Fix issue 21: #21
      Fix issue 22: #22

      Usage:

      var database = await SqlServerDatabaseFactory.ImportAsync("Your connection string!");

      Wiki: https://github.com/hherzl/CatFactory.SqlServer/wiki
@hherzl hherzl closed this as completed Feb 21, 2023
hherzl added a commit that referenced this issue Feb 27, 2023
      Upgrade for .NET 6
      Fix issue 20: #20
      Fix issue 21: #21
      Fix issue 22: #22
      Fix issue 23: #23
      Fix issue 24: #24

      Usage:

      var database = await SqlServerDatabaseFactory.ImportAsync("Your connection string!");

      Wiki: https://github.com/hherzl/CatFactory.SqlServer/wiki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant