79190724

Date: 2024-11-14 23:38:26
Score: 2
Natty:
Report link

For future someone, As @kmdreko pointed out, I was using diesel_migration=="2.2.0" but was using an old syntax. My current syntax working fine as follows:

use diesel_migrations::{embed_migrations, EmbeddedMigrations, MigrationHarness};
pub const MIGRATIONS: EmbeddedMigrations = embed_migrations!("migrations");
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @kmdreko
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nokib Sorkar