Renamed DbArtist to Artist to be more consistent
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with LMS. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "DbArtist.hpp"
|
||||
#include "Artist.hpp"
|
||||
|
||||
#include "utils/Logger.hpp"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "Cluster.hpp"
|
||||
|
||||
#include "DbArtist.hpp"
|
||||
#include "Artist.hpp"
|
||||
#include "Release.hpp"
|
||||
#include "SqlQuery.hpp"
|
||||
#include "Track.hpp"
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#include "utils/Logger.hpp"
|
||||
|
||||
#include "DbArtist.hpp"
|
||||
#include "Artist.hpp"
|
||||
#include "Cluster.hpp"
|
||||
#include "MediaDirectory.hpp"
|
||||
#include "Playlist.hpp"
|
||||
@@ -120,7 +120,8 @@ Handler::Handler(Wt::Dbo::SqlConnectionPool& connectionPool)
|
||||
|
||||
LMS_LOG(DB, INFO) << "Tables created";
|
||||
}
|
||||
catch(std::exception& e) {
|
||||
catch (Wt::Dbo::Exception& e)
|
||||
{
|
||||
LMS_LOG(DB, ERROR) << "Cannot create tables: " << e.what();
|
||||
}
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
|
||||
#include "Release.hpp"
|
||||
|
||||
#include "Artist.hpp"
|
||||
#include "Cluster.hpp"
|
||||
#include "DbArtist.hpp"
|
||||
#include "SqlQuery.hpp"
|
||||
#include "Track.hpp"
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
|
||||
#include "utils/Logger.hpp"
|
||||
|
||||
#include "Artist.hpp"
|
||||
#include "Cluster.hpp"
|
||||
#include "DbArtist.hpp"
|
||||
#include "Release.hpp"
|
||||
#include "SqlQuery.hpp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user