d594d00227
- Fixed theme not being reflected on gallery and admin login pages - Created GlobalThemeProvider to apply themes globally - Updated gallery and admin login pages to use dynamic CSS variables - Added complete translations for all admin sections in English and German: - Notifications management - Event view and creation - Photo upload functionality - Category management - Archive page view - Analytics dashboard - Branding and theme settings - System settings - CMS page management - Email configuration - Fixed admin photo management display issues - Fixed photo upload category assignment - Added password reset functionality for galleries - Improved error handling and user feedback 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
15 lines
433 B
JavaScript
15 lines
433 B
JavaScript
exports.up = async function(knex) {
|
|
// Add read_at column to activity_logs table
|
|
const hasReadAt = await knex.schema.hasColumn('activity_logs', 'read_at');
|
|
if (!hasReadAt) {
|
|
await knex.schema.table('activity_logs', (table) => {
|
|
table.datetime('read_at').nullable();
|
|
});
|
|
}
|
|
};
|
|
|
|
exports.down = async function(knex) {
|
|
await knex.schema.table('activity_logs', (table) => {
|
|
table.dropColumn('read_at');
|
|
});
|
|
}; |