-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust versioning on player_stats default scripts.
Add `bomb_time_remaining` to bomb plant table.
- Loading branch information
1 parent
c8a595b
commit 5f48302
Showing
7 changed files
with
100 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -255,5 +255,5 @@ exports.down = function(db) { | |
}; | ||
|
||
exports._meta = { | ||
"version": 1 | ||
"version": 26 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
"use strict"; | ||
|
||
var dbm; | ||
var type; | ||
var seed; | ||
var async = require("async"); | ||
|
||
/** | ||
* We receive the dbmigrate dependency from dbmigrate initially. | ||
* This enables us to not have to rely on NODE_PATH. | ||
*/ | ||
exports.setup = function (options, seedLink) { | ||
dbm = options.dbmigrate; | ||
type = dbm.dataType; | ||
seed = seedLink; | ||
}; | ||
|
||
exports.up = function (db, callback) { | ||
return db.addColumn("match_bomb_plants", "bomb_time_remaining", { | ||
type: "int", | ||
length: 10, | ||
notNull: true, | ||
defaultValue: 0 | ||
}); | ||
}; | ||
|
||
exports.down = function (db, callback) { | ||
return db.removeColumn("match_bomb_plants", "bomb_time_remaining"); | ||
}; | ||
exports._meta = { | ||
version: 27 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -255,5 +255,5 @@ exports.down = function(db) { | |
}; | ||
|
||
exports._meta = { | ||
"version": 1 | ||
"version": 26 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
"use strict"; | ||
|
||
var dbm; | ||
var type; | ||
var seed; | ||
var async = require("async"); | ||
|
||
/** | ||
* We receive the dbmigrate dependency from dbmigrate initially. | ||
* This enables us to not have to rely on NODE_PATH. | ||
*/ | ||
exports.setup = function (options, seedLink) { | ||
dbm = options.dbmigrate; | ||
type = dbm.dataType; | ||
seed = seedLink; | ||
}; | ||
|
||
exports.up = function (db, callback) { | ||
return db.addColumn("match_bomb_plants", "bomb_time_remaining", { | ||
type: "int", | ||
length: 10, | ||
notNull: true, | ||
defaultValue: 0 | ||
}); | ||
}; | ||
|
||
exports.down = function (db, callback) { | ||
return db.removeColumn("match_bomb_plants", "bomb_time_remaining"); | ||
}; | ||
exports._meta = { | ||
version: 27 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -255,5 +255,5 @@ exports.down = function(db) { | |
}; | ||
|
||
exports._meta = { | ||
"version": 1 | ||
"version": 26 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
"use strict"; | ||
|
||
var dbm; | ||
var type; | ||
var seed; | ||
var async = require("async"); | ||
|
||
/** | ||
* We receive the dbmigrate dependency from dbmigrate initially. | ||
* This enables us to not have to rely on NODE_PATH. | ||
*/ | ||
exports.setup = function (options, seedLink) { | ||
dbm = options.dbmigrate; | ||
type = dbm.dataType; | ||
seed = seedLink; | ||
}; | ||
|
||
exports.up = function (db, callback) { | ||
return db.addColumn("match_bomb_plants", "bomb_time_remaining", { | ||
type: "int", | ||
length: 10, | ||
notNull: true, | ||
defaultValue: 0 | ||
}); | ||
}; | ||
|
||
exports.down = function (db, callback) { | ||
return db.removeColumn("match_bomb_plants", "bomb_time_remaining"); | ||
}; | ||
exports._meta = { | ||
version: 27 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "g5api", | ||
"version": "2.0.1.0", | ||
"version": "2.0.1.1", | ||
"private": true, | ||
"type": "module", | ||
"licenses": [ | ||
|