没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
迁移 用Go编写的数据库迁移。 用作或导入为。 Migrate从读取迁移,并将迁移以正确的顺序应用于。 驱动程序是“笨拙的”,迁移会将所有内容粘合在一起,并确保逻辑是防弹的。 (也使驱动程序保持轻量级。) 数据库驱动程序不承担任何责任或尝试纠正用户输入。 如有疑问,请失败。 从 资料库 数据库驱动程序运行迁移。 ( ) ( ) ( ) 数据库URL 数据库连接字符串是通过URL指定的。 URL格式取决于驱动程序,但通常采用以下格式: dbdriver://username:password@host:port/dbname?param1=true¶m2=false 任何需要转义。 注意, %字符也 明确地,以下字符需要转义: ! , # , $ , % , & , ' , ( , ) , * , + , , , / , : , ; , = ? , @ , [ , ] 始终通过URL编码器运行数据库连接URL的URL部分(例如用户名,密码等)是最简单的。 请参见下面的示例Python代码段: $ python3 -c ' import urllib.par
资源推荐
资源详情
资源评论
收起资源包目录
migration:数据库迁移。 CLI和Golang库 (326个子文件)
Dockerfile.circleci 261B
1578421726_multistatement_test.up.cypher 81B
1578421725_create_movies.up.cypher 67B
1578421040_create_movies_constraint.up.cypher 54B
1578421040_create_movies_constraint.down.cypher 52B
1578421725_create_movies.down.cypher 24B
Dockerfile 495B
Dockerfile 427B
.dockerignore 123B
.gitignore 84B
.gitignore 24B
.gitignore 21B
.gitignore 21B
.gitignore 21B
migrate_test.go 36KB
migrate.go 22KB
commands_test.go 12KB
mysql.go 12KB
mysql_test.go 12KB
postgres_test.go 11KB
mongodb.go 10KB
cockroachdb.go 10KB
bindata.go 10KB
postgres.go 10KB
mongodb_test.go 10KB
parse_test.go 10KB
sqlserver.go 9KB
main.go 9KB
bindata.go 9KB
snowflake.go 9KB
spanner.go 9KB
redshift_test.go 9KB
redshift.go 8KB
cassandra.go 8KB
neo4j.go 7KB
docker.go 7KB
sqlcipher.go 6KB
sqlite3.go 6KB
clickhouse.go 6KB
firebird.go 6KB
ql.go 6KB
testing.go 5KB
commands.go 5KB
sqlserver_test.go 5KB
spanner_test.go 5KB
gitlab.go 5KB
github.go 5KB
file_test.go 5KB
bitbucket.go 5KB
migration.go 5KB
firebird_test.go 5KB
cockroachdb_test.go 4KB
pkger_test.go 4KB
driver.go 4KB
driver.go 4KB
testing.go 4KB
partial_driver.go 4KB
sqlcipher_test.go 3KB
sqlite3_test.go 3KB
s3_test.go 3KB
neo4j_test.go 3KB
s3.go 3KB
migration.go 3KB
go-bindata.go 3KB
cassandra_test.go 3KB
storage.go 2KB
stub.go 2KB
testing.go 2KB
pkger.go 2KB
partial_driver_test.go 2KB
parse_test.go 2KB
driver_test.go 2KB
parse_test.go 2KB
stub.go 2KB
github_ee.go 2KB
storage_test.go 2KB
migration_test.go 2KB
ql_test.go 1KB
vfs.go 1KB
parse.go 1KB
util.go 1KB
util_test.go 1018B
stub_test.go 985B
file.go 983B
migrate_testing.go 934B
driver.go 927B
github_ee_test.go 909B
driver_test.go 871B
url_test.go 866B
vfs_test.go 828B
stub_test.go 827B
dktesting.go 819B
go-bindata_test.go 818B
vfs_example_test.go 782B
parse.go 752B
log.go 732B
example_test.go 699B
migration_test.go 643B
bitbucket_test.go 632B
github_test.go 590B
共 326 条
- 1
- 2
- 3
- 4
资源评论
weixin_38719540
- 粉丝: 6
- 资源: 908
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功