Commit 4f1c8fa9 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Rename CreateTable -> createTable

parent 710138f6
......@@ -54,7 +54,7 @@ const std::vector<IAlbumTrack*>&Album::tracks()
return *m_tracks;
}
bool Album::CreateTable(sqlite3* dbConnection)
bool Album::createTable(sqlite3* dbConnection)
{
const char* req = "CREATE TABLE IF NOT EXISTS Album("
"id_album INTEGER PRIMARY KEY AUTOINCREMENT,"
......
......@@ -18,7 +18,7 @@ class Album : public IAlbum
virtual time_t lastSyncDate();
virtual const std::vector<IAlbumTrack*>& tracks();
static bool CreateTable( sqlite3* dbConnection );
static bool createTable( sqlite3* dbConnection );
static Album* fetch( sqlite3* dbConnection, unsigned int albumTrackId );
protected:
......
......@@ -80,7 +80,7 @@ int File::playCount()
return m_playCount;
}
bool File::CreateTable(sqlite3* connection)
bool File::createTable(sqlite3* connection)
{
const char* req = "CREATE TABLE IF NOT EXISTS File("
"id_media INTEGER PRIMARY KEY AUTOINCREMENT,"
......
......@@ -30,7 +30,7 @@ class File : public IFile
virtual std::vector<ILabel*> labels();
virtual int playCount();
static bool CreateTable( sqlite3* connection );
static bool createTable( sqlite3* connection );
private:
sqlite3* m_dbConnection;
......
......@@ -50,7 +50,7 @@ const std::string& Show::tvdbId()
return m_tvdbId;
}
bool Show::CreateTable(sqlite3* dbConnection)
bool Show::createTable(sqlite3* dbConnection)
{
const char* req = "CREATE TABLE IF NOT EXISTS Show("
"id_show INTEGER PRIMARY KEY AUTOINCREMENT,"
......
......@@ -18,7 +18,7 @@ class Show : public IShow
virtual time_t lastSyncDate();
virtual const std::string& tvdbId();
static bool CreateTable( sqlite3* dbConnection );
static bool createTable( sqlite3* dbConnection );
protected:
sqlite3* m_dbConnection;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment