Skip to content

[6.x] Table does not exist: webauthn #12884

@AtmoFX

Description

@AtmoFX

Bug description

#9239 has created an error when editing users in the CP.
Possibly important details: my users are stored in SQL, not in files.

image

I cannot find:

  • A migration file in my folders.
  • A piece of documentation about that table in v6.statamic.dev.
  • A reference to what that table should be in the documentation of webauthn.

But I went to see the files in the PR and stumbled upon what I think could be the migration file in src/Console/Commands/stubs/auth/statamic_webauthn_table.php.stub.
Not sure why it creates a WEBAUTHN_TABLE table when it seems to look for WEBAUTHN table as per the error message.

How to reproduce

On 6.0-alpha.15, open a user to view or edit them in the CP.

Logs

Environment

Environment
Application Name: GaiaMine UAT
Laravel Version: 11.46.1
PHP Version: 8.3.6
Composer Version: 2.8.12
Environment: prod
Debug Mode: OFF
URL: alpha.local/
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: database

Pulse
Enabled: ENABLED
Version: v1.4.3

Livewire
Livewire: v3.6.4

Statamic
Addons: 5
Sites: 1
Stache Watcher: Disabled (auto)
Static Caching: Disabled
Version: 6.0.0-alpha.15 PRO

Statamic Addons
alt-design/alt-seo: 1.3.0
jacksleight/statamic-bard-mutator: 3.0.5
pecotamic/sitemap: 1.4.10
statamic/eloquent-driver: 4.33.0
stillat/antlers-components: 2.6.0

Statamic Eloquent Driver
Asset Containers: file
Assets: file
Blueprints: file
Collection Trees: file
Collections: file
Entries: eloquent
Fieldsets: file
Form Submissions: eloquent
Forms: file
Global Sets: file
Global Variables: file
Navigation Trees: file
Navigations: file
Revisions: file
Sites: file
Taxonomies: file
Terms: file
Tokens: file

Installation

Other (please explain)

Additional details

Site migrated from 5.x

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions