From 15467d5c0a24febfed4edfd33039b48898b8dfcc Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 12 May 2021 14:11:28 +0300 Subject: Fixed DbSets being above the constructor (when they should be below) --- tools/add-feature-template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/add-feature-template.sh b/tools/add-feature-template.sh index 4d83354..bf9d8ac 100755 --- a/tools/add-feature-template.sh +++ b/tools/add-feature-template.sh @@ -51,7 +51,7 @@ if ! grep -q "$dbset" "$dbcontext_path"; then if grep -Fq "DbSet" $dbcontext_path; then sed -z -i "s/.*DbSet[^\n]*\n/&\t\t$dbset\n/" $dbcontext_path else - sed -i "11 i \\\t\t$dbset\n" $dbcontext_path + sed -i "14 i \\\t\t$dbset\n" $dbcontext_path fi fi -- cgit v1.2.3