Skip to content

Commit

Permalink
feat(templates): use anonymous class for make:seeder (#843)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz committed May 23, 2022
1 parent dc884c1 commit 27381c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/seeder.txt
@@ -1,6 +1,6 @@
import BaseSeeder from '@ioc:Adonis/Lucid/Seeder'

export default class {{ filename }}Seeder extends BaseSeeder {
export default class extends BaseSeeder {
public async run () {
// Write your database queries inside the run method
}
Expand Down

0 comments on commit 27381c4

Please sign in to comment.