ddon-server/Arrowgene.Ddon.Database/Files/Database/Script/equip_migration_sqlite.sql
Paul Campbell c6affd209c Add Item Migration
- 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.
2024-07-25 23:45:53 -04:00

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
);