TokensTableCommand class

dox auth:tokens-table: write a migration that makes the access tokens table (AccessTokenTables).

Flags: --uuid, --string-ids, --users-table=<table> and --users-key=<column>. They set the same options of AccessTokenTables.up.

Constructors

TokensTableCommand({MigrationFile? migrations})
migrations is MigrationFile() (db/migration) by default

Properties

description → String
one line for dox help
no setter
hashCode → int
The hash code for this object.
no setterinherited
name → String
the name after dox, like queue:table
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
usage → String
how to call it, like make:report <name>. Shown by dox help. The default is name.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(List<String> args) → Future<void>
run the command. args are the words after the name.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

source([List<String> options = const <String>[]]) → String
the migration file. options are the named arguments of AccessTokenTables.up, like uuidIds: true.