惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
博客园 - Franky
GbyAI
GbyAI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
aimingoo的专栏
aimingoo的专栏
博客园_首页
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recent Announcements
Recent Announcements
Scott Helme
Scott Helme
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
C
CERT Recently Published Vulnerability Notes
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Jina AI
Jina AI
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
L
LangChain Blog
L
LINUX DO - 最新话题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Hacker News: Front Page
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
AI
AI
T
Troy Hunt's Blog
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
S
Secure Thoughts
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
人人都是产品经理
人人都是产品经理
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Apple Machine Learning Research
Apple Machine Learning Research
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Security @ Cisco Blogs
Cloudbric
Cloudbric
E
Exploit-DB.com RSS Feed
Attack and Defense Labs
Attack and Defense Labs

博客园 - 寒枫

network plugin is not ready: cni config uninitialized Unable to connect to the server: x509: certificate signed by unknown authority Centos 卸载 MySQL 已激活的 SQL Prompt 提示授权过期 .NET Core 3.0 部署在docker上运行 Docker 微服务教程 Docker 入门教程 快速了解 Linux系统信息 Navicat 连接本地MS-SQL服务器,只能用localhost无法使用127.0.0.1 安装Ubuntu Server 18.04 并支持远程方式 AdventureWorks 安装和配置[转自 微软msdn] SQL Server 2014 Agent 无法启动 安装 Visual Stuidio 2010 失败 发送邮件的例子 解决VS2013调试ASP.NET中无法调试的问题:当前不会命中断点。在 XXXX.dll 中找到了 XXX.cs 的副本,但是当前源代码与 XXXX.dll 中内置的版本不同。 编译器错误消息: CS0016: 未能写入输出文件 如何使用SQL Server链接服务器访问DB2 Server 另类方法解决设计Web页面出现:Error Creating Control [转载]hao123军事频道首页JQ焦点图
Abp VNext 5.1.3 快速實現數據庫初始化
寒枫 · 2022-02-19 · via 博客园 - 寒枫

一、两处json 文件修改

1)\src\*.DbMigrator\appsettings.json

2) \src\*.Web\appsettings.json

将以下信息按照实际情况修改

  "ConnectionStrings": {
    "Default": "Server=127.0.0.1;Database=BookStore;User Id=sa;Password=abc;"
  }

 二、使用命令安装abp并运行

dotnet tool install -g Volo.Abp.Cli

dotnet run

更多信息如下:

lenovo@DESKTOP-1ENNVD5 MINGW64 /e/Work/Study/HeatherNet.BookStore/src/HeatherNet.BookStore.DbMigrator (feature/HB001)
$ dotnet tool install -g Volo.Abp.Cli
可使用以下命令调用工具: abp
已成功安装工具“volo.abp.cli”(版本“5.1.3”)。

lenovo@DESKTOP-1ENNVD5 MINGW64 /e/Work/Study/HeatherNet.BookStore/src/HeatherNet.BookStore.DbMigrator (feature/HB001)
$ dotnet run
[22:36:43 INF] Creating initial migration...

lenovo@DESKTOP-1ENNVD5 MINGW64 /e/Work/Study/HeatherNet.BookStore/src/HeatherNet.BookStore.DbMigrator (feature/HB001)
$ [22:36:44 INF] ABP CLI (https://abp.io)
[22:36:44 INF] Version 5.1.3 (Stable)
[22:36:45 INF] Installing dotnet-ef tool...
可使用以下命令调用工具: dotnet-ef
已成功安装工具“dotnet-ef”(版本“6.0.2”)。
[22:37:30 INF] dotnet-ef tool is installed.
[22:37:38 INF] Started database migrations...
[22:37:38 INF] Migrating schema for host database...
[22:37:40 INF] Executing host database seed...
[22:37:42 INF] Successfully completed host database migrations.
[22:37:42 INF] Successfully completed all database migrations.
[22:37:42 INF] You can safely end this process...

View Code