Anton Arefiev 5f8a616b15 Fix 033 add encryption unique key migration
SQLite doesn't support 'drop constraint' statament. So it notifies:
SAWarning: Table 'encryption' specifies columns 'volume_type_id'
as primary_key=True, not matching locally specified columns
'encryption_id'; setting the current primary key columns to
'encryption_id'. This warning may become an exception in a future
release.

Add new strategy for sqlite upgrade: table is renamed to temporary
name, new table is created followed by INSERT statements, and
renamed to original one.

Change-Id: I723fdadb946f6944dde03954409899a9ddc3ee0e
Closes-Bug: #1431374
2015-07-21 11:47:10 +03:00
..
2015-05-25 22:20:28 +02:00
2013-12-30 18:53:02 -06:00
2013-06-14 14:02:17 +00:00