Skip to content

Database session management has multiple wrong documentation. #245

@0x02f0bcd4

Description

@0x02f0bcd4

Documentation link

The documentation can be found at here. Please scroll past to the section stores.database.

Description

The mistakes are as below -

  1. The database session configuration field connection is rather connectionName.
  2. There is no node ace command to create the session table, but the documentation describes it with node ace make:session-table.

Technical details

The following was copied from package-lock.json. The project was initialized with Web Starter Pack, selected database was MySQL.

        "@adonisjs/auth": "^9.4.0",
        "@adonisjs/core": "^6.18.0",
        "@adonisjs/lucid": "^21.6.1",
        "@adonisjs/session": "^7.5.1",
        "@adonisjs/shield": "^8.2.0",
        "@adonisjs/static": "^1.1.1",
        "@adonisjs/vite": "^4.0.0",
        "@vinejs/vine": "^3.0.1",
        "edge.js": "^6.2.1",
        "luxon": "^3.7.2",
        "mysql2": "^3.15.3",
        "reflect-metadata": "^0.2.2"

Thank you for your continued effort of making the JS server deployment a joy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions