mirror of
https://github.com/sebastian-heinz/Arrowgene.DragonsDogmaOnline
synced 2026-08-03 11:12:41 -04:00
- Created a migration for the currently equipped items. - Created a new SystemMailService class to help with delivering mail items to players. - Changed existing database functions so they can be used inside the migration files.
12 lines
No EOL
492 B
SQL
12 lines
No EOL
492 B
SQL
CREATE TABLE "ddon_system_mail_attachment" (
|
|
"attachment_id" INTEGER NOT NULL,
|
|
"message_id" INTEGER NOT NULL,
|
|
"attachment_type" INTEGER NOT NULL,
|
|
"is_received" INTEGER NOT NULL DEFAULT 0,
|
|
"param0" VARCHAR(256) NOT NULL DEFAULT "",
|
|
"param1" INTEGER NOT NULL DEFAULT 0,
|
|
"param2" INTEGER NOT NULL DEFAULT 0,
|
|
"param3" INTEGER NOT NULL DEFAULT 0,
|
|
PRIMARY KEY("attachment_id" AUTOINCREMENT),
|
|
FOREIGN KEY("message_id") REFERENCES "ddon_system_mail"("message_id") ON DELETE CASCADE
|
|
); |