使用StrongLoop自动创建mysql表 [英] Auto-create mysql table with StrongLoop

查看:72
本文介绍了使用StrongLoop自动创建mysql表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Strongloop与MySql一起使用,但无法弄清楚如何将表迁移或自动创建表到MySql数据库中.

I am trying to use Strongloop with MySql but cannot figure out how to migrate or automatically create tables into a MySql database.

至少有一种方法可以将模型导出到MySql模式中,还是必须手动创建表?

Is there at least a way to export the models into MySql schemas or do I have to manually create the tables?

我一直在尝试使用mysql演示应用程序,并且浏览了文档一段时间但没有运气- http://docs.strongloop.com/display/DOC/MySQL+connector

I've been trying with the mysql demo app, and going over the docs for a while but no luck - http://docs.strongloop.com/display/DOC/MySQL+connector

谢谢!

推荐答案

LoopBack将其称为自动迁移.检查这些链接并搜索该术语:

LoopBack calls it auto-migration. Check these links and search for that term:

数据源和连接器

这篇关于使用StrongLoop自动创建mysql表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆