feat: update Notifications front-end

Signed-off-by: Marek Libra <marek.libra@gmail.com>
This commit is contained in:
Marek Libra
2024-02-15 12:16:04 +01:00
parent ad327b9b8d
commit 758f2a40c5
18 changed files with 562 additions and 425 deletions
@@ -0,0 +1,29 @@
/*
* Copyright 2024 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
exports.up = async function up(knex) {
await knex.schema.alterTable('notification', table => {
table.text('link').nullable().alter();
table.dropColumn('done');
});
};
exports.down = async function down(knex) {
await knex.schema.alterTable('notification', table => {
table.text('link').notNullable().alter();
table.datetime('done').nullable();
});
};