The following SQL is used to create __MigrationHistory table in SQLite database for Entity Framework 6.0 in Code-First mode.
CREATE TABLE [__MigrationHistory] ([MigrationId] CHAR NOT NULL, [Model] BLOB NOT NULL, [ContextKey] CHAR NOT NULL, [ProductVersion] CHAR NOT NULL, CONSTRAINT [sqlite_autoindex___MigrationHistory_1] PRIMARY KEY ([MigrationId]));
No comments:
Post a Comment