-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A folder that runs after the other anytime scripts folders have run h…
…as been added. Changes from chucknorris/roundhouse#1
- Loading branch information
ferventcoder
committed
May 27, 2011
1 parent
9681c5d
commit 59b4732
Showing
11 changed files
with
81 additions
and
46 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
db/SQLServer/TestRoundhousE/runAfterOtherAnyTimeScripts/createFiveItems.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,8 @@ | ||
-- Simple script. Can actually call sprocs defined elsewhere because this is run after all of the other anytime scripts | ||
--drop five items prior to this. | ||
-- just remember, this is still an anytime kind of place, so you make a change, it reruns the file. | ||
INSERT INTO dbo.SampleItems (name, firstname, lastname) VALUES ('bob1', 'bob1', 'bubba1') | ||
INSERT INTO dbo.SampleItems (name, firstname, lastname) VALUES ('bob2', 'bob2', 'bubba2') | ||
INSERT INTO dbo.SampleItems (name, firstname, lastname) VALUES ('bob3', 'bob3', 'bubba3') | ||
INSERT INTO dbo.SampleItems (name, firstname, lastname) VALUES ('bob4', 'bob4', 'bubba4') | ||
INSERT INTO dbo.SampleItems (name, firstname, lastname) VALUES ('bob5', 'bob5', 'bubba5') |
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,35 +1,38 @@ | ||
namespace roundhouse.folders | ||
{ | ||
public sealed class DefaultKnownFolders : KnownFolders | ||
{ | ||
public DefaultKnownFolders(MigrationsFolder up, | ||
MigrationsFolder down, | ||
MigrationsFolder run_first_after_up, | ||
MigrationsFolder functions, | ||
MigrationsFolder views, | ||
MigrationsFolder sprocs, | ||
MigrationsFolder permissions, | ||
Folder change_drop | ||
) | ||
{ | ||
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 up, | ||
MigrationsFolder down, | ||
MigrationsFolder run_first_after_up, | ||
MigrationsFolder functions, | ||
MigrationsFolder views, | ||
MigrationsFolder sprocs, | ||
MigrationsFolder runAfterOtherAnyTimeScripts, | ||
MigrationsFolder permissions, | ||
Folder change_drop | ||
) | ||
{ | ||
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.permissions = permissions; | ||
this.change_drop = change_drop; | ||
} | ||
|
||
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.runAfterOtherAnyTimeScripts = runAfterOtherAnyTimeScripts; | ||
this.permissions = permissions; | ||
this.change_drop = change_drop; | ||
} | ||
|
||
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 permissions { get; private set; } | ||
public Folder change_drop{get; private set;} | ||
|
||
} | ||
public MigrationsFolder runAfterOtherAnyTimeScripts { 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,14 +1,15 @@ | ||
namespace roundhouse.folders | ||
{ | ||
public interface KnownFolders | ||
{ | ||
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 up { get; } | ||
MigrationsFolder down { get; } | ||
MigrationsFolder run_first_after_up { get; } | ||
MigrationsFolder functions { get; } | ||
MigrationsFolder views { get; } | ||
MigrationsFolder sprocs { get; } | ||
MigrationsFolder permissions { get; } | ||
Folder change_drop { get; } | ||
} | ||
MigrationsFolder runAfterOtherAnyTimeScripts { 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
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