INSERT: is_default=1

This commit is contained in:
Kolan Sh 2014-05-09 17:00:03 +04:00
parent 67b58bf4ba
commit 553067e5e2
2 changed files with 8 additions and 4 deletions

View File

@ -79,12 +79,14 @@ for v in $CHILI_ID_GITORIOUS_REPO; do
url,
root_url,
type,
path_encoding)
path_encoding,
is_default)
VALUES('$chili_project_id',
'$gitorious_path',
'$gitorious_path',
'Repository::Git',
'')"
'',
1)"
fi
;;
esac

View File

@ -110,10 +110,12 @@ for i in `seq 0 $((nrepos-1))`; do
url,
root_url,
type,
path_encoding)
path_encoding,
is_default)
VALUES('$PROJECTID',
'${repos_paths[$i]}',
'${repos_paths[$i]}',
'${repos_types[$i]}',
'')"
'',
1)"
done