ALTER TABLE dashboards RENAME TO dashboards_old;

CREATE TABLE IF NOT EXISTS dashboards (
	id INTEGER PRIMARY KEY AUTOINCREMENT,
	name TEXT NOT NULL,
	contents TEXT NOT NULL
);

INSERT INTO dashboards (name, contents)
SELECT id, contents FROM dashboards_old;

DROP TABLE dashboards_old;
