Commit 91777b7f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Metadata: Rename the table MediaMetadata -> Metadata

parent 29b08ba9
......@@ -33,7 +33,7 @@
namespace medialibrary
{
const std::string policy::MetadataTable::Name = "MediaMetadata";
const std::string policy::MetadataTable::Name = "Metadata";
Metadata::Record::Record( uint32_t t, std::string v )
: m_type( t )
......
......@@ -66,9 +66,9 @@
"value TEXT"
")",
"INSERT INTO " + MetadataTable::Name + "_backup SELECT * FROM " + MetadataTable::Name,
"INSERT INTO " + MetadataTable::Name + "_backup SELECT * FROM MediaMetadata",
"DROP TABLE " + MetadataTable::Name,
"DROP TABLE MediaMetadata",
// Recreate the new table
#include "database/tables/Metadata_v14.sql"
......
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