Skip to content

Commit

Permalink
🚿 Remove unused generate migration option
Browse files Browse the repository at this point in the history
  • Loading branch information
acusti committed Jul 25, 2024
1 parent c6652c7 commit 9889492
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions packages/superflare/cli/generate/migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,10 @@ import { blankMigration } from "../stubs/migration.stub";
import { CommonYargsArgv, StrictYargsOptionsToInterface } from "../yargs-types";

export function migrationOptions(yargs: CommonYargsArgv) {
return yargs
.positional("name", {
describe: "The name of the migration",
type: "string",
})
.option("db", {
describe: "The local database binding to use for the migration",
default: "",
});
return yargs.positional("name", {
describe: "The name of the migration",
type: "string",
});
}

export async function migrationHandler(
Expand Down

0 comments on commit 9889492

Please sign in to comment.