
USE <%= database %>;

<% 

for (var i in tables) { 
var table = tables[i]; 

%>

INSERT INTO `<%= table.name %>` 
(<% 

	for (var j in table.columns) { 
		var c = table.columns[j]; 

	%><%= c.column_name %><%= j < table.columns.length -1 ? ',' : '' %><% 

} 

%>) VALUES 
<% 

for (var k = 0; k < 50; k++) { 

%>(<% 

	for (var m in table.columns) { 
	var c2 = table.columns[m]; 

	%><%- generateDataForColumn(c2, k) %><%= m < table.columns.length -1 ? ',' : '' %><% 

} 

%>)<%= k < 49 ? ',' : '' %><% 

} 

%>;

<% 

} 

%>

