Fixed a typo in filename and renamed table for consistency (#1279)

* Fixed a typo in filename and renamed table for consistency

* Added update file to rename the tables

* Drop old tables if they exist and create new ones if they don't exist already
This commit is contained in:
Revision
2025-05-10 13:47:22 +02:00
committed by GitHub
parent 97f582b9b1
commit dc703cc897
4 changed files with 26 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
DROP TABLE IF EXISTS `playerbot_account_keys`;
DROP TABLE IF EXISTS `playerbots_account_keys`;
CREATE TABLE `playerbot_account_keys` (
CREATE TABLE `playerbots_account_keys` (
`account_id` INT PRIMARY KEY,
`security_key` VARCHAR(255) NOT NULL,
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP

View File

@@ -1,6 +1,6 @@
DROP TABLE IF EXISTS `playerbot_account_links`;
DROP TABLE IF EXISTS `playerbots_account_links`;
CREATE TABLE `playerbot_account_links` (
CREATE TABLE `playerbots_account_links` (
`id` INT AUTO_INCREMENT PRIMARY KEY,
`account_id` INT NOT NULL,
`linked_account_id` INT NOT NULL,