commit提取贡献者创建时间
This commit is contained in:
parent
77b4b51c42
commit
0b9ebbda4b
|
@ -47,6 +47,7 @@ namespace :batch_add_contributors do
|
|||
else
|
||||
sql = "INSERT INTO commit_contributors (`created_at`, `count`, `name`) VALUES ('#{commit_date_str}',1,'#{commiter['email']}')"
|
||||
end
|
||||
puts "sql====#{sql}"
|
||||
|
||||
sql_connection.execute(sql)
|
||||
sql_connection.commit_db_transaction
|
||||
|
@ -97,6 +98,7 @@ namespace :batch_add_contributors do
|
|||
else
|
||||
sql = "INSERT INTO commit_contributors (`created_at`, `count`, `name`) VALUES ('#{commit_date_str}',1,'#{commiter['email']}')"
|
||||
end
|
||||
puts "sql====#{sql}"
|
||||
|
||||
sql_connection.execute(sql)
|
||||
sql_connection.commit_db_transaction
|
||||
|
|
Loading…
Reference in New Issue