Skip to content

Commit

Permalink
fix: linter configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jeboehm committed Jul 30, 2024
1 parent e62d929 commit 55d1e69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 23 deletions.
2 changes: 2 additions & 0 deletions .github/linters/.sqlfluff
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[sqlfluff]
dialect = mysql
7 changes: 0 additions & 7 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@
name: Lint Code Base

on:
push:
branches:
- main

pull_request:
branches:
- main
- next

jobs:
run-lint:
Expand Down
18 changes: 2 additions & 16 deletions db/rootfs/docker-entrypoint-initdb.d/001_mailserver.sql
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

DROP TABLE IF EXISTS `mail_aliases`;
CREATE TABLE `mail_aliases` (
Expand Down Expand Up @@ -60,11 +54,3 @@ INSERT INTO `migration_versions` (`version`, `executed_at`, `execution_time`) VA
('DoctrineMigrations\\Version20180322081734', NOW(), 0),
('DoctrineMigrations\\Version20180520173959', NOW(), 0),
('DoctrineMigrations\\Version20190610121554', NOW(), 0);

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

0 comments on commit 55d1e69

Please sign in to comment.