mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-23 12:05:56 +00:00
fix(SQL column): Correct the SQL column name to snake case
This commit is contained in:
parent
69d1e33217
commit
c4cdd0f263
1 changed files with 2 additions and 2 deletions
|
@ -2,12 +2,12 @@
|
||||||
exports.up = function (knex) {
|
exports.up = function (knex) {
|
||||||
return knex.schema
|
return knex.schema
|
||||||
.alterTable("monitor", function (table) {
|
.alterTable("monitor", function (table) {
|
||||||
table.text("publicUrl", "text");
|
table.text("public_url", "text");
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.down = function (knex) {
|
exports.down = function (knex) {
|
||||||
return knex.schema.alterTable("monitor", function (table) {
|
return knex.schema.alterTable("monitor", function (table) {
|
||||||
table.dropColumn("publicUrl");
|
table.dropColumn("public_url");
|
||||||
});
|
});
|
||||||
};
|
};
|
Loading…
Add table
Reference in a new issue