im making an app with some SQLite database but It crashes by an SQLite Syntax error (Android Studio Debug Report)
CREATE TABLE paneles(id INTEGER PRIMARY KEY, mega_id INTEGER, FOREIGN KEY (mega_id) REFERENCES megas(id), codigobarras INTEGER,nombre TEXT); it says is near codigobarras, but I can't find the error
thanks for help