Compare commits

...

4 Commits

Author SHA1 Message Date
Mikhail 317d0d45b0 Remove extra space 2024-04-01 18:33:13 +02:00
Mikhail 0499a1b209 Rename 2024-04-01 18:33:01 +02:00
Mikhail bf5460f495 Add pre-commit hook 2024-04-01 18:32:34 +02:00
Mikhail 717855fa5d Migrate 2024-04-01 18:32:15 +02:00
2 changed files with 29 additions and 0 deletions

28
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,28 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-toml
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace
- repo: local
hooks:
- id: fmt
name: fmt
description: Format
entry: cargo fmt
language: system
args:
- --all
types: [ rust ]
pass_filenames: false
- id: check
name: check
description: Check
entry: cargo check
language: system
types: [ rust ]
pass_filenames: false

View File

@ -0,0 +1 @@
alter table messages add column created_at text;