var util = require('../src/util/seeds');

exports.seed = function(knex, Promise) {
  return util.insertOrUpdate(knex, 'teams', {
    id: 1,
    name: 'TiTe'
  })
  .then(() => {
    return util.insertOrUpdate(knex, 'teams', {
      id: 2,
      name: 'Skilta'
    });
  })
  .then(() => {
    return util.insertOrUpdate(knex, 'teams', {
      id: 3,
      name: 'Autek'
    });
  })
  .then(() => {
    return util.insertOrUpdate(knex, 'teams', {
      id: 4,
      name: 'Bioner'
    });
  })
  .then(() => {
    return util.insertOrUpdate(knex, 'teams', {
      id: 5,
      name: 'Hiukkanen'
    });
  })
  .then(() => {
    return util.insertOrUpdate(knex, 'teams', {
      id: 6,
      name: 'Indecs'
    });
  })
  .then(() => {
    return util.insertOrUpdate(knex, 'teams', {
      id: 7,
      name: 'Koneenrakentajakilta'
    });
  })
  .then(() => {
    return util.insertOrUpdate(knex, 'teams', {
      id: 8,
      name: 'Man@ger'
    });
  })
  .then(() => {
    return util.insertOrUpdate(knex, 'teams', {
      id: 9,
      name: 'Materiaali-insinöörikilta'
    });
  })
  .then(() => {
    return util.insertOrUpdate(knex, 'teams', {
      id: 10,
      name: 'TamArk'
    });
  })
  .then(() => {
    return util.insertOrUpdate(knex, 'teams', {
      id: 11,
      name: 'TARAKI'
    });
  })
  .then(() => {
    return util.insertOrUpdate(knex, 'teams', {
      id: 12,
      name: 'YKI'
    });
  });
};

@@ -149,16 +149,91 @@
 : 'TiTe'
+,%0A    image_path: 'https://storage.googleapis.com/wappuapp/assets/tite.png'
 %0A  %7D)%0A  
@@ -323,24 +323,103 @@
 me: 'Skilta'
+,%0A      image_path: 'https://storage.googleapis.com/wappuapp/assets/skilta.png'
 %0A    %7D);%0A  %7D
@@ -516,16 +516,94 @@
  'Autek'
+,%0A      image_path: 'https://storage.googleapis.com/wappuapp/assets/autek.png'
 %0A    %7D);
@@ -705,16 +705,95 @@
 'Bioner'
+,%0A      image_path: 'https://storage.googleapis.com/wappuapp/assets/bioner.png'
 %0A    %7D);
@@ -898,16 +898,98 @@
 ukkanen'
+,%0A      image_path: 'https://storage.googleapis.com/wappuapp/assets/hiukkanen.png'
 %0A    %7D);
@@ -1091,16 +1091,95 @@
 'Indecs'
+,%0A      image_path: 'https://storage.googleapis.com/wappuapp/assets/indecs.png'
 %0A    %7D);
@@ -1280,26 +1280,87 @@
  'Ko
-neenrakentajakilta
+RK',%0A      image_path: 'https://storage.googleapis.com/wappuapp/assets/kork.png
 '%0A  
@@ -1468,16 +1468,96 @@
 Man@ger'
+,%0A      image_path: 'https://storage.googleapis.com/wappuapp/assets/manager.png'
 %0A    %7D);
@@ -1678,16 +1678,92 @@
 rikilta'
+,%0A      image_path: 'https://storage.googleapis.com/wappuapp/assets/mik.png'
 %0A    %7D);
@@ -1866,16 +1866,95 @@
 'TamArk'
+,%0A      image_path: 'https://storage.googleapis.com/wappuapp/assets/tamark.png'
 %0A    %7D);
@@ -2057,16 +2057,95 @@
 'TARAKI'
+,%0A      image_path: 'https://storage.googleapis.com/wappuapp/assets/taraki.png'
 %0A    %7D);
@@ -2245,16 +2245,92 @@
 e: 'YKI'
+,%0A      image_path: 'https://storage.googleapis.com/wappuapp/assets/yki.png'
 %0A    %7D);

Add team images to seed file