removed extra import
This commit is contained in:
parent
f686d3265e
commit
36befcb632
@ -1,5 +1,4 @@
|
||||
import create_table, rename_column, add_column, types from require "lapis.db.schema"
|
||||
import trim from require "lapis.util"
|
||||
import process_tags from require "helpers"
|
||||
import Tracks, Tags from require "models"
|
||||
|
||||
@ -48,7 +47,7 @@ import Tracks, Tags from require "models"
|
||||
[6]: =>
|
||||
return true -- formerly a bad migration
|
||||
[7]: =>
|
||||
-- WARNING: removes all tags!
|
||||
-- WARNING: removes all tags fields!
|
||||
for track in *Tracks\select "*"
|
||||
tags = ""
|
||||
for field in *{"artist", "mood", "link", "genre"}
|
||||
|
Reference in New Issue
Block a user