Skip to content

Commit

Permalink
add the idShow entry to the episode database on db creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Marshall committed May 10, 2012
1 parent eafb2f7 commit d05a2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/video/VideoDatabase.cpp
Expand Up @@ -203,7 +203,7 @@ bool CVideoDatabase::CreateTables()

columns += column;
}
columns += ")";
columns += ", idShow integer)";
m_pDS->exec(columns.c_str());
m_pDS->exec("CREATE UNIQUE INDEX ix_episode_file_1 on episode (idEpisode, idFile)");
m_pDS->exec("CREATE UNIQUE INDEX id_episode_file_2 on episode (idFile, idEpisode)");
Expand Down

0 comments on commit d05a2b8

Please sign in to comment.