3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Change the first migration's date to the repo's creation date

This isn't necessary, but since the migration was modified when this repo was created,
it makes more sense to also have it dated at this time.
This commit is contained in:
Dragory 2018-07-07 17:01:44 +03:00
parent e9fb76f76d
commit 55215dc382

View file

@ -1,4 +1,4 @@
exports.up = async function(knex, Promise) {
exports.up = async function(knex) {
if (! await knex.schema.hasTable('mod_actions')) {
await knex.schema.createTable('mod_actions', table => {
table.increments('id');
@ -28,7 +28,7 @@ exports.up = async function(knex, Promise) {
}
};
exports.down = async function(knex, Promise) {
exports.down = async function(knex) {
await knex.schema.dropTableIfExists('mod_action_notes');
await knex.schema.dropTableIfExists('mod_actions');
};