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:
parent
e9fb76f76d
commit
55215dc382
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
};
|
Loading…
Add table
Reference in a new issue