Skip to content

Postgres - generic error: Enable 'database' feature flag to support this #387

@solaryssky

Description

@solaryssky

Please tell me why I get this error? I need to compile with the option --features "database" ?

roapi --version
roapi 0.12.5

roapi --table "test=postgresql://user:pass@127.0.0.1:5432/postgres"
[2025-03-20T08:01:58Z INFO  roapi::context] loading `uri(postgresql://user:pass@127.0.0.1:5432/postgres)` as table `test`
error: Failed to build context: Failed to load table: Table error: Generic error: Enable 'database' feature flag to support this

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