Galera funcionou mas depois me deparei com a segurança
Checking if the context targets an existing database...
System.TypeLoadException: Regras de segurança de herança foram violadas pelo tipo: 'MySql.Data.MySqlClient.MySqlProviderServices'. Os tipos derivados devem corresponder à acessibilidade de segurança do tipo de base ou ser menos acessíveis.
em System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
em System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
em System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
em System.Type.GetType(String typeName, Boolean throwOnError)
em System.Data.Entity.Infrastructure.DependencyResolution.ProviderServicesFactory.GetInstance(String providerTypeName, String providerInvariantName)
em System.Data.Entity.Internal.AppConfig.<.ctor>b2(ProviderElement e)
em System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
em System.Collections.Generic.List
1..ctor(IEnumerable1 collection)
em System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source)
em System.Data.Entity.Internal.AppConfig.<.ctor>b1()
em System.Lazy1.CreateValue()
em System.Lazy
1.LazyInitValue()
em System.Lazy1.get_Value()
em System.Data.Entity.Internal.AppConfig.get_DbProviderServices()
em System.Data.Entity.Infrastructure.DependencyResolution.AppConfigDependencyResolver.RegisterDbProviderServices()
em System.Data.Entity.Infrastructure.DependencyResolution.AppConfigDependencyResolver.GetServiceFactory(Type type, String name)
em System.Data.Entity.Infrastructure.DependencyResolution.AppConfigDependencyResolver.<>c__DisplayClass1.<GetService>b__0(Tuple
2 t)
em System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func
2 valueFactory)
em System.Data.Entity.Infrastructure.DependencyResolution.AppConfigDependencyResolver.GetService(Type type, Object key)
em System.Data.Entity.Infrastructure.DependencyResolution.ResolverChain.<>cDisplayClass3.b0(IDbDependencyResolver r)
em System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext()
em System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable
1 source, Func2 predicate)
em System.Data.Entity.Infrastructure.DependencyResolution.ResolverChain.GetService(Type type, Object key)
em System.Data.Entity.Infrastructure.DependencyResolution.CompositeResolver
2.GetService(Type type, Object key)
em System.Data.Entity.Infrastructure.DependencyResolution.DbDependencyResolverExtensions.GetService[T](IDbDependencyResolver resolver)
em System.Data.Entity.DbContext.InitializeLazyInternalContext(IInternalConnection internalConnection, DbCompiledModel model)
em System.Data.Entity.DbContext..ctor(String nameOrConnectionString)
em inovaComandaEletronica1_1.Models.Model1..ctor() na C:\Users\LENOVO\Documents\Visual Studio 2017\Projects\inovaComandaEletronica1_1\inovaComandaEletronica1_1\Models\Model1.cs:linha 11
Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Data.Entity.Infrastructure.DbContextInfo.CreateInstance()
em System.Data.Entity.Infrastructure.DbContextInfo..ctor(Type contextType, DbProviderInfo modelProviderInfo, AppConfig config, DbConnectionInfo connectionInfo, Func`1 resolver)
em System.Data.Entity.Migrations.DbMigrator..ctor(DbMigrationsConfiguration configuration, DbContext usersContext, DatabaseExistenceState existenceState, Boolean calledByCreateDatabase)
em System.Data.Entity.Migrations.DbMigrator..ctor(DbMigrationsConfiguration configuration)
em System.Data.Entity.Migrations.Design.MigrationScaffolder..ctor(DbMigrationsConfiguration migrationsConfiguration)
em System.Data.Entity.Migrations.Design.ToolingFacade.ScaffoldRunner.Run()
em System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
em System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate)
em System.Data.Entity.Migrations.Design.ToolingFacade.Run(BaseRunner runner)
em System.Data.Entity.Migrations.Design.ToolingFacade.ScaffoldInitialCreate(String language, String rootNamespace)
em System.Data.Entity.Migrations.EnableMigrationsCommand.<>cDisplayClass2.<.ctor>b0()
em System.Data.Entity.Migrations.MigrationsDomainCommand.Execute(Action command)
Regras de segurança de herança foram violadas pelo tipo: 'MySql.Data.MySqlClient.MySqlProviderServices'. Os tipos derivados devem corresponder à acessibilidade de segurança do tipo de base ou ser menos acessíveis.