Quand je suis en train de migrer des fichiers en utilisant l'invite de commande: sequel -m db/migrations/ mysql://root:[email protected]/todo
Je reçois l'erreur suivante:Sequel :: AdapterNotFound: ChargeErreur: ne peut pas charger ce fichier - mysql
Error: Sequel::AdapterNotFound: LoadError: cannot load such file -- mysql C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
est en dessous de mon dossier de migration db/migrations:
Sequel.migration do
change do
create_table :users do
primary_key :id
String :name, :unique => true, :length => 32, :null => false
String :password, :length => 32, :null => false
DateTime :created_at
end
end
end
Mon Gemfile:
> GEM remote: https://rubygems.org/ specs:
> rack (2.0.3)
> rack-protection (2.0.0)
> rack
> sinatra (2.0.0)
> rack (~> 1.4)
> rack-protection (~> 1.4)
> tilt (~> 1.3, >= 1.3.4)
> tilt (2.0.7)
>
> PLATFORMS x64-mingw32
>
> DEPENDENCIES bundler (= 1.15.1) sinatra (= 2.0.0)
>
> BUNDLED WITH
> 1.15.1