
exports.up = function(knex, Promise) {
  return knex.schema.createTable('pages', function (table) {
    table.increments('id').primary()
    table.string('title')
    table.text('body', 'longtext')
    table.string('status')
    table.dateTime('published_date')
  })
};

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

@@ -8,32 +8,33 @@
 ts.up = function
+ 
 (knex, Promise) 
@@ -136,16 +136,42 @@
 mary()%0D%0A
+    table.string('type')%0D%0A
     tabl
@@ -185,24 +185,151 @@
 g('title')%0D%0A
+    table.string('slug').unique()%0D%0A    table.integer('author').unsigned()%0D%0A    table.foreign('author').references('users.id')%0D%0A
     table.te
@@ -425,17 +425,16 @@
 %0A  %7D)%0D%0A%7D
-;
 %0D%0A%0D%0Aexpo
@@ -452,16 +452,17 @@
 function
+ 
 (knex, P
@@ -518,7 +518,6 @@
 )%0D%0A%7D
-;
 %0D%0A

Add status, author and slug column to pages migration file