Added missing gallery history table