fix db script
This commit is contained in:
parent
9ec0632a48
commit
41d5fb60b2
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ var newCommand = new Command("new", "creates a new migrations")
|
||||||
newCommand.SetHandler(MakeNewMigration, nameArg, migrationsDirectoryOption);
|
newCommand.SetHandler(MakeNewMigration, nameArg, migrationsDirectoryOption);
|
||||||
|
|
||||||
var connectionStringArg = new Argument<string>(
|
var connectionStringArg = new Argument<string>(
|
||||||
"--connection-string",
|
"connection-string",
|
||||||
"the connection string to the database"
|
"the connection string to the database"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ var connectionStringOption = new Option<string?>(
|
||||||
var upCommand = new Command("up", "update the database to the most current migration")
|
var upCommand = new Command("up", "update the database to the most current migration")
|
||||||
{
|
{
|
||||||
migrationsDirectoryOption,
|
migrationsDirectoryOption,
|
||||||
connectionStringArg,
|
connectionStringOption,
|
||||||
};
|
};
|
||||||
|
|
||||||
upCommand.SetHandler(
|
upCommand.SetHandler(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue