Skip to content

Commit

Permalink
fix: DEFAULT 0
Browse files Browse the repository at this point in the history
  • Loading branch information
SALTWOOD committed Dec 20, 2024
1 parent 8e32d48 commit 0e0ff52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/Article.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { AutoIncrement, Index, PrimaryKey, Table } from "./IDatabase.js";
title VARCHAR(24),
background TEXT,
hash CHAR(64),
category TINYINT UNSIGNED,
category TINYINT UNSIGNED DEFAULT 0,
PRIMARY KEY (id)
`)
@Index("author", "author")
Expand Down

0 comments on commit 0e0ff52

Please sign in to comment.