home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Feature Requests
Add version info to settings section
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morpheus_xx" data-source="post: 1290139" data-attributes="member: 48495"><p>Unfortunately sqlite does not support to drop column from a table, so the downgrade takes a few more steps:</p><p>[CODE=SQL]</p><p>begin transaction;</p><p></p><p>alter table attached_clients rename to bak_clients;</p><p></p><p>CREATE TABLE ATTACHED_CLIENTS (SYSTEM_ID TEXT COLLATE NOCASE NOT NULL PRIMARY KEY, LAST_HOSTNAME TEXT COLLATE NOCASE, LAST_CLIENT_NAME TEXT COLLATE NOCASE) WITHOUT ROWID;</p><p></p><p>insert into attached_clients (system_id, last_hostname, last_client_name) select system_id, last_hostname, last_client_name from bak_clients;</p><p></p><p>update mediaportal_basis set version_minor = 0 where subschema_name = 'ClientManager';</p><p></p><p>drop table bak_clients;</p><p></p><p>commit;</p><p>[/CODE]</p><p></p><p>Please first take a backup of the datastore.s3db.</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1290139, member: 48495"] Unfortunately sqlite does not support to drop column from a table, so the downgrade takes a few more steps: [CODE=SQL] begin transaction; alter table attached_clients rename to bak_clients; CREATE TABLE ATTACHED_CLIENTS (SYSTEM_ID TEXT COLLATE NOCASE NOT NULL PRIMARY KEY, LAST_HOSTNAME TEXT COLLATE NOCASE, LAST_CLIENT_NAME TEXT COLLATE NOCASE) WITHOUT ROWID; insert into attached_clients (system_id, last_hostname, last_client_name) select system_id, last_hostname, last_client_name from bak_clients; update mediaportal_basis set version_minor = 0 where subschema_name = 'ClientManager'; drop table bak_clients; commit; [/CODE] Please first take a backup of the datastore.s3db. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Feature Requests
Add version info to settings section
Contact us
RSS
Top
Bottom