Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix migrate! macro with no params #762

Merged
merged 1 commit into from
Oct 23, 2020
Merged

Commits on Oct 22, 2020

  1. Fixes migration macro with no params

    Fixes issue experienced in launchbadge#746 when using no parameter:
    
    ```
    error: paths relative to the current file's directory are not currently supported
     --> src/db.rs:7:5
      |
    7 |     sqlx::migrate!().run(&conn).await?;
      |     ^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
    ```
    esemeniuc authored Oct 22, 2020
    Configuration menu
    Copy the full SHA
    5d9067b View commit details
    Browse the repository at this point in the history