Hello! Following the quickstart and doing migrati...
# talk-kratos
b
Hello! Following the quickstart and doing migrations like this:
Copy code
ory_kratos-migrate:
    depends_on:
      - mariadb
    container_name: "ory_kratos-migrate"
    image: "oryd/kratos:v1.0.0"
    restart: on-failure
    environment:
      - DSN=<mysql://ory>:<snipped>@tcp(mariadb:3306)/kratos?max_conns=20&max_idle_conns=4
      - LOG_LEVEL=trace
    command: --config /etc/config/kratos/config.yaml migrate sql -e --yes
    volumes:
      - "./ory/kratos/config.yaml:/etc/config/kratos/config.yaml"
Running this, however, there is a migration error:
Copy code
error executing migrations/sql/20200317160354000002_create_profile_request_forms.mysql.up.sql, sql: INSERT INTO selfservice_profile_management_request_methods (id, method, selfservice_profile_management_request_id, config) SELECT id, 'traits', id, form FROM selfservice_profile_management_requests;: Error 1364 (HY000): Field 'created_at' doesn't have a default value
Has anyone experienced this? If so, how did you remedy it?
Just went into the db manually and added the default values for the fields it was complaining about...but is this an errata in the migrations?