From ed0cd81bde89e19ff754d5d02a91f8f3c04975cd Mon Sep 17 00:00:00 2001 From: Julien Gautier Date: Sun, 26 Apr 2026 21:55:22 +0200 Subject: [PATCH] chore(db): remove unused mysql models barrel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit models/mysql/index.js was never imported by the application — mysql.js is the actual model registry. The barrel created a false registration point that caused the Application migration bug. --- src/database/models/mysql/index.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/database/models/mysql/index.js diff --git a/src/database/models/mysql/index.js b/src/database/models/mysql/index.js deleted file mode 100644 index 2f36852..0000000 --- a/src/database/models/mysql/index.js +++ /dev/null @@ -1,18 +0,0 @@ -exports.Application = require('./Application'); -exports.Article = require('./Article'); -//exports.ArticleTag = require('./ArticleTag'); -exports.Brand = require('./Brand'); -exports.Category = require('./Category'); -exports.Comment = require('./Comment'); -exports.Favorite = require('./Favorite'); -exports.Follower = require('./Follower'); -exports.Packaging = require('./Packaging'); -exports.Product = require('./Product'); -exports.ProductCategoryXref = require('./ProductCategoryXref'); -exports.ProductTagXref = require('./ProductTagXref'); -exports.Role = require('./Role'); -exports.SkydiverProfile = require('./SkydiverProfile'); -exports.Tag = require('./Tag'); -exports.TagList = require('./TagList'); -exports.User = require('./User'); -exports.UserRoleXref = require('./UserRoleXref'); \ No newline at end of file