Replaced square brackets in query with backticks
Replaced "bit not null default '0'" with "bit not null default false"