{"size": 366, "ext": "js", "max_stars_repo_path": "api/migrations/20170206005112_images.js", "max_stars_repo_name": "spruce-bruce/daves.pics", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "api/migrations/20170206005112_images.js", "max_issues_repo_name": "spruce-bruce/daves.pics", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "api/migrations/20170206005112_images.js", "max_forks_repo_name": "spruce-bruce/daves.pics", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.4, "max_line_length": 59, "alphanum_fraction": 0.6092896175}
'use strict';
exports.up = function (knex) {
    return knex.schema.createTable('images', (table) => {
        table.uuid('id').primary();
        table.string('source_id').references('sources.id');
        table.string('source_meta');

        table.timestamps();
    });
};

exports.down = function (knex, Promise) {
    return knex.schema.dropTable('images');
};
