-- Deploy gaia:api_2016_01_19_create_table_api_servicefilter to mysql

BEGIN;

CREATE TABLE `api_servicefilter` (
    `id` INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `name` VARCHAR(128) NOT NULL,
    `type` INTEGER NOT NULL DEFAULT 1,
    `value` VARCHAR(128) NOT NULL,
    `ordering` INTEGER NOT NULL DEFAULT 100,
    `is_online` TINYINT(1) NOT NULL DEFAULT 0
);

COMMIT;
