refactor api error
refactor test fixture
fix error
exclude 'next_id' when generate tables