Skip to content
Discussion options

You must be logged in to vote

set in user migrations to, maybe help

      table
        .integer('gender_id')
        .references('id')
        .inTable('genders')
        .defaultTo(null)
        .onDelete('SET NULL')

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@e-e
Comment options

@aldinp16
Comment options

@e-e
Comment options

Answer selected by RomainLanz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants