aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-05-12 14:11:28 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-05-12 14:11:28 +0300
commit15467d5c0a24febfed4edfd33039b48898b8dfcc (patch)
tree5cd3f668bbc899c47f1d353636f1fca1b843dd34 /tools
parent4f4c58d1feb668c37cad930a4c6c70902cc324b2 (diff)
downloadit-kariera-exam-template-15467d5c0a24febfed4edfd33039b48898b8dfcc.tar
it-kariera-exam-template-15467d5c0a24febfed4edfd33039b48898b8dfcc.tar.gz
it-kariera-exam-template-15467d5c0a24febfed4edfd33039b48898b8dfcc.zip
Fixed DbSets being above the constructor (when they should be below)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/add-feature-template.sh2
1 files changed, 1 insertions, 1 deletions
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