Skip to content

Commit

Permalink
Remove column from dbgen from talks due to removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonny Stirling committed Jan 10, 2016
1 parent 8ee75a3 commit d02acf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/dbgen/generator.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ protected function _generateCategories() {
// Generate $count talks for random events
protected function _generateTalks($count) {
echo "TRUNCATE talks;\n";
echo "INSERT INTO talks (talk_title, speaker, slides_link, date_given, event_id, ID, talk_desc, active, owner_id, lang, duration) VALUES \n";
echo "INSERT INTO talks (talk_title, slides_link, date_given, event_id, ID, talk_desc, active, owner_id, lang, duration) VALUES \n";

$first = true;
for ($id=1; $id!=$count+1; $id++) {
Expand Down Expand Up @@ -179,7 +179,7 @@ protected function _generateTalks($count) {

if (! $first) echo ",\n";

printf ("('%s', NULL, '%s', %d, %d, %d, '%s', 1, NULL, %d, %d)",
printf ("('%s', '%s', %d, %d, %d, '%s', 1, NULL, %d, %d)",
$talk->title, $talk->slides_link, $talk->date_given, $talk->event_id,
$id, $talk->description, $talk->lang_id, $talk->duration);

Expand Down

0 comments on commit d02acf8

Please sign in to comment.