-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for #20 - RunAfterCreateDatabase folder
- Loading branch information
1 parent
f40fd83
commit 5ec9b4c
Showing
21 changed files
with
166 additions
and
79 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
db/SQLServer/TestRoundhousE/runAfterCreateDatabase/0000_CreateSchemas.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CREATE SCHEMA [rh] | ||
GO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,49 @@ | ||
namespace roundhouse.folders | ||
{ | ||
public sealed class DefaultKnownFolders : KnownFolders | ||
{ | ||
public DefaultKnownFolders( | ||
MigrationsFolder alter_database, | ||
MigrationsFolder up, | ||
MigrationsFolder down, | ||
MigrationsFolder run_first_after_up, | ||
MigrationsFolder functions, | ||
MigrationsFolder views, | ||
MigrationsFolder sprocs, | ||
MigrationsFolder indexes, | ||
MigrationsFolder runAfterOtherAnyTimeScripts, | ||
MigrationsFolder permissions, | ||
Folder change_drop | ||
) | ||
{ | ||
this.alter_database = alter_database; | ||
this.up = up; | ||
this.down = down; | ||
this.run_first_after_up = run_first_after_up; | ||
this.functions = functions; | ||
this.views = views; | ||
namespace roundhouse.folders | ||
{ | ||
public sealed class DefaultKnownFolders : KnownFolders | ||
{ | ||
public DefaultKnownFolders( | ||
MigrationsFolder alter_database, | ||
MigrationsFolder run_after_create_database, | ||
MigrationsFolder up, | ||
MigrationsFolder down, | ||
MigrationsFolder run_first_after_up, | ||
MigrationsFolder functions, | ||
MigrationsFolder views, | ||
MigrationsFolder sprocs, | ||
MigrationsFolder indexes, | ||
MigrationsFolder runAfterOtherAnyTimeScripts, | ||
MigrationsFolder permissions, | ||
Folder change_drop | ||
) | ||
{ | ||
this.alter_database = alter_database; | ||
this.run_after_create_database = run_after_create_database; | ||
this.up = up; | ||
this.down = down; | ||
this.run_first_after_up = run_first_after_up; | ||
this.functions = functions; | ||
this.views = views; | ||
this.sprocs = sprocs; | ||
this.indexes = indexes; | ||
this.runAfterOtherAnyTimeScripts = runAfterOtherAnyTimeScripts; | ||
this.permissions = permissions; | ||
this.change_drop = change_drop; | ||
} | ||
|
||
public MigrationsFolder alter_database { get; private set; } | ||
public MigrationsFolder up { get; private set; } | ||
public MigrationsFolder down { get; private set; } | ||
public MigrationsFolder run_first_after_up { get; private set; } | ||
public MigrationsFolder functions { get; private set; } | ||
public MigrationsFolder views { get; private set; } | ||
this.indexes = indexes; | ||
this.run_after_other_any_time_scripts = runAfterOtherAnyTimeScripts; | ||
this.permissions = permissions; | ||
this.change_drop = change_drop; | ||
} | ||
|
||
public MigrationsFolder alter_database { get; private set; } | ||
public MigrationsFolder run_after_create_database { get; private set; } | ||
public MigrationsFolder up { get; private set; } | ||
public MigrationsFolder down { get; private set; } | ||
public MigrationsFolder run_first_after_up { get; private set; } | ||
public MigrationsFolder functions { get; private set; } | ||
public MigrationsFolder views { get; private set; } | ||
public MigrationsFolder sprocs { get; private set; } | ||
public MigrationsFolder indexes { get; private set; } | ||
public MigrationsFolder runAfterOtherAnyTimeScripts { get; private set; } | ||
public MigrationsFolder permissions { get; private set; } | ||
|
||
public Folder change_drop{get; private set;} | ||
|
||
} | ||
public MigrationsFolder indexes { get; private set; } | ||
public MigrationsFolder run_after_other_any_time_scripts { get; private set; } | ||
public MigrationsFolder permissions { get; private set; } | ||
|
||
public Folder change_drop{get; private set;} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
namespace roundhouse.folders | ||
{ | ||
public interface KnownFolders | ||
{ | ||
MigrationsFolder alter_database { get; } | ||
MigrationsFolder up { get; } | ||
MigrationsFolder down { get; } | ||
MigrationsFolder run_first_after_up { get; } | ||
MigrationsFolder functions { get; } | ||
MigrationsFolder views { get; } | ||
namespace roundhouse.folders | ||
{ | ||
public interface KnownFolders | ||
{ | ||
MigrationsFolder alter_database { get; } | ||
MigrationsFolder run_after_create_database { get; } | ||
MigrationsFolder up { get; } | ||
MigrationsFolder down { get; } | ||
MigrationsFolder run_first_after_up { get; } | ||
MigrationsFolder functions { get; } | ||
MigrationsFolder views { get; } | ||
MigrationsFolder sprocs { get; } | ||
MigrationsFolder indexes { get; } | ||
MigrationsFolder runAfterOtherAnyTimeScripts { get; } | ||
MigrationsFolder permissions { get; } | ||
Folder change_drop { get; } | ||
} | ||
MigrationsFolder indexes { get; } | ||
MigrationsFolder run_after_other_any_time_scripts { get; } | ||
MigrationsFolder permissions { get; } | ||
Folder change_drop { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.