Jantlap's avatar

Cant use sqlite databases - Identifier name is too long

Hi there,

for testing purposes I would like to use sqlite. But when migrating I get:

SQLSTATE[HY000] [1059] Identifier name '/Users/myusername/Code/laravel-app/database/testing/account.sqlite' is too long (SQL: create table
   `migrations` (`id` int unsigned not null auto_increment primary key, `migration` varchar(255) not null, `batch` int not null) default chara
  cter set utf8mb4 collate utf8mb4_general_ci)

I have tried to Google that but with no luck. Someone willing to help?

Thank you.

0 likes
1 reply
Jantlap's avatar
Jantlap
OP
Best Answer
Level 1

AH, my silly mistake. ;-)

Please or to participate in this conversation.