• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

malucooo/otxserver-new problem with schema.sql

Tehaceria Ots

New Member
Joined
Dec 4, 2017
Messages
14
Reaction score
0
Hello someone meybe use
malucooo/otxserver-new (https://github.com/malucooo/otxserver-new)
I have problem with schema.sql
Code:
Błąd
Zapytanie SQL:




-- --------------------------------------------------------

--
-- Estrutura da tabela `account_character_sale_history`
--

CREATE TABLE `account_character_sale_history` (
  `id` int(11) NOT NULL,
  `id_old_account` int(11) DEFAULT NULL,
  `id_player` int(11) DEFAULT NULL,
  `id_new_account` int(11) DEFAULT NULL,
  `price_type` tinyint(1) DEFAULT NULL,
  `price` int(11) DEFAULT NULL,
  `char_id` int(11) DEFAULT NULL,
  `dta_insert` datetime NOT NULL DEFAULT current_timestamp(),
  `dta_sale` datetime DEFAULT NULL,
  `extornada` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
MySQL zwrócił komunikat: Dokumentacja

#1067 - Invalid default value for 'dta_insert'
 
try changing:

`dta_insert` datetime NOT NULL DEFAULT current_timestamp(),

to:
`dta_insert` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
 

Similar threads

Back
Top