Create events table