Skip to content

Cheatsheet many-to-many migration incorrect #4703

@LostKobrakai

Description

@LostKobrakai

Elixir version

Database and Version

Ecto Versions

Database Adapter and Versions (postgrex, myxql, etc)

Current behavior

The cheatsheet sets the intermediate table for m2m up with timestamps(), declaring that this works for both the join tables and schema option. The plain join table version cannot deal with timestamps though.

Expected behavior

Not sure how best to change this in the cheatsheet. The join table option cannot have additional columns though, while using schemas enables just that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions