 
 insert into schema_migrations (version) values ('20090623033141');
 
+insert into schema_migrations (version) values ('20090624002909');
+
 insert into schema_migrations (version) values ('21');
 
 insert into schema_migrations (version) values ('22');

  key `idx_category_id` (`category_id`),
  key `index_races_on_event_id` (`event_id`),
  key `index_races_on_bar_points` (`bar_points`),
  constraint `races_event_id_fk` foreign key (`event_id`) references `events` (`id`) on delete cascade,
  constraint `races_category_id_fk` foreign key (`category_id`) references `categories` (`id`)
) engine=innodb default charset=utf8;

create table `results` (

  key `idx_name` (`name`)
) engine=innodb default charset=utf8;

create table `new_categories` (
  `id` int(11) not null auto_increment,
  `name` varchar(255) default null,
  `type` varchar(255) default null,
  `new_category_id` int(11) default null,
  `position` int(11) not null default '999',
  `lock_version` int(11) not null default '0',
  `created_at` datetime default null,
  `updated_at` datetime default null,
  primary key (`id`)
) engine=innodb default charset=utf8;

create table `number_issuers` (
  `id` int(11) not null auto_increment,
  `name` varchar(255) not null default '',
