forked from 0x2620/pandora
escape %
This commit is contained in:
parent
2ad4abd820
commit
bfff4c03f9
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ class Migration(SchemaMigration):
|
|||
db.rename_column('backend_listitem', 'movie_id', 'item_id')
|
||||
db.create_unique('backend_posterurl', ['url', 'item_id', 'service'])
|
||||
|
||||
db.execute("UPDATE backend_item SET poster=REPLACE(poster,'movies/','items/') WHERE poster LIKE 'movies/%'")
|
||||
db.execute("UPDATE backend_stream SET video=REPLACE(video,'movies/','items/') WHERE video LIKE 'movies/%'")
|
||||
db.execute("UPDATE backend_item SET poster=REPLACE(poster,'movies/','items/') WHERE poster LIKE 'movies/%%'")
|
||||
db.execute("UPDATE backend_stream SET video=REPLACE(video,'movies/','items/') WHERE video LIKE 'movies/%%'")
|
||||
|
||||
def backwards(self, orm):
|
||||
db.rename_table('backend_itemsort', 'backend_moviesort')
|
||||
|
|
Loading…
Reference in a new issue