big kahuna

This commit is contained in:
2026-08-15 23:05:57 -06:00
parent 6fec70c7c8
commit 84893662ca
25 changed files with 3886 additions and 27 deletions

25
lib/CW/Migration/04.pm Normal file
View File

@@ -0,0 +1,25 @@
package CW::Migration::04;
use Moo;
extends 'CW::Migration';
sub id {
return 4;
}
sub sql {
return q[CREATE TABLE users (
id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(24),
password VARCHAR(62),
admin BOOLEAN DEFAULT false,
active BOOLEAN DEFAULT false,
denied BOOLEAN DEFAULT false,
denied_reason TEXT,
join_request JSON NOT NULL
)
]
}
1;