{
  "author": "",
  "description": "Create event contracts table",
  "created_at": 1462826999477,
  "up": [
    "CREATE TABLE event_contracts (
        id varchar(255) NOT NULL,
        opponent_group_id varchar(255) DEFAULT NULL,
        event_id varchar(255) DEFAULT NULL,
        contract_printed int(11) DEFAULT NULL,
        contract_send int(11) DEFAULT NULL,
        contract_received int(11) DEFAULT NULL,
        entry_fee DECIMAL(10,2) DEFAULT NULL,
        paid tinyint(1) DEFAULT NULL,
        created_by_group varchar(255) DEFAULT NULL,
        created_by_user varchar(255) DEFAULT NULL,
        created_at datetime DEFAULT NULL,
        updated_at datetime DEFAULT NULL,
        active tinyint(1) DEFAULT NULL,
        PRIMARY KEY (`id`)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
      "
  ],
  "down": [
    "
      DROP table event_contracts
    "
  ]
}