forked from DebaucheryLibrarian/traxxx
Added seed file for test data.
This commit is contained in:
@@ -33,10 +33,10 @@ exports.up = knex => Promise.resolve()
|
||||
table.integer('height', 6);
|
||||
table.float('entropy');
|
||||
|
||||
table.text('comment');
|
||||
table.string('scraper', 32);
|
||||
table.string('copyright', 100);
|
||||
table.string('source', 1000);
|
||||
table.text('comment');
|
||||
|
||||
table.unique('hash');
|
||||
table.unique('source');
|
||||
@@ -359,6 +359,7 @@ exports.up = knex => Promise.resolve()
|
||||
table.boolean('deep');
|
||||
table.string('deep_url', 1000);
|
||||
|
||||
table.string('batch');
|
||||
table.datetime('created_at')
|
||||
.defaultTo(knex.fn.now());
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user