Skip to content

Not possible to create demo dataset with php artisan db:seed --class=DemoDataSeeder #429

@ikzent

Description

@ikzent

Installation of datatank version 6.6.
Standaard database postgres (create without any issues)
Start php dataset ...
The error gives the following issue as if the definitions where not found:

Output of the command ---


  • Application In Production!     *
    

Do you really wish to run this command?

[Illuminate\Database\QueryException]
SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "collection_uri" violates not-null constraint
DETAIL: Failing row contains (1, null, null, null, null, 2017-02-07 12:37:16, 2017-02-07 12:37:16, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, 5, null, null, null, null, null, null). (SQL: insert into "definitions" ("updated_at", "
created_at") values (2017-02-07 12:37:16, 2017-02-07 12:37:16) returning "id")

db:seed [--class[="..."]] [--database[="..."]] [--force]

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