Adding SQL isonline field