| 14 | * Command to create the sessions table migration |
| 15 | */ |
| 16 | export default class MakeSessionTable extends BaseCommand { |
| 17 | static commandName = 'make:session-table' |
| 18 | static description = 'Create a migration for the sessions database table' |
| 19 | |
| 20 | async run() { |
| 21 | const codemods = await this.createCodemods() |
| 22 | await codemods.makeUsingStub(stubsRoot, 'make/migration/sessions.stub', { |
| 23 | migration: { tableName: 'sessions', prefix: Date.now() }, |
| 24 | }) |
| 25 | } |
| 26 | } |
nothing calls this directly
no outgoing calls
no test coverage detected