Commit 44b3cec8 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Blogilo: Fix a typo in SQL query

parent d5c9abe2
......@@ -256,8 +256,7 @@ bool DBMan::createDB()
}
///Auth data
if ( !q.exec( QLatin1String("CREATE TABLE auth_data (blog_id INT, key TEXT NOT NULL, values TEXT NOT NULL, UNIQUE(blog_id,key))") ) ) {
ret = false;
if ( !q.exec( QLatin1String("CREATE TABLE auth_data (blog_id INT, key TEXT NOT NULL, value TEXT NOT NULL, UNIQUE(blog_id,key))") ) ) {
d->mLastErrorText = q.lastError().text();
}
......
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