没有合适的资源?快使用搜索试试~ 我知道了~
SQLiteMigrationManager.swift:SQLite.swift的迁移管理器
共54个文件
sql:10个
plist:8个
swift:7个
需积分: 15 0 下载量 122 浏览量
2021-05-22
17:49:59
上传
评论
收藏 48KB ZIP 举报
温馨提示
SQLiteMigrationManager.swift SQLiteMigrationManager.swift是一个架构管理系统 。 它在很大程度上受到启发。 概念 SQLiteMigrationManager.swift通过将schema_migrations表引入数据库来工作: CREATE TABLE " schema_migrations " ( " version " INTEGER NOT NULL UNIQUE ); schema_migrations每一行都对应于已应用的单个迁移,并且代表该模式的唯一版本。 此架构支持任何基于整数的版本控制方案,但是建议您使用编码时间戳的整数。 用法 看一下。 创建迁移表 let db = try Connection ( " path/to/store.sqlite " ) let manager = SQLiteMig
资源推荐
资源详情
资源评论
收起资源包目录
SQLiteMigrationManager_swift-master.zip (54个子文件)
SQLiteMigrationManager.swift-master
.gitignore 432B
SQLiteMigrationManagerTests macOS
Info.plist 701B
SQLiteMigrationManager iOS
Info.plist 808B
Sources
SQLiteMigrationManager.swift 7KB
Example
bin
setup 300B
SQLiteExample.xcworkspace
contents.xcworkspacedata 231B
SQLiteExample.xcodeproj
project.xcworkspace
contents.xcworkspacedata 158B
project.pbxproj 17KB
README.md 385B
SQLiteExample
ViewController.swift 57B
Database
Migrations
SeedDB.swift 435B
Database.swift 2KB
Migrations.bundle
20160119125444115_initial.sql 85B
Info.plist 1KB
Base.lproj
LaunchScreen.storyboard 2KB
Main.storyboard 2KB
AppDelegate.swift 522B
Assets.xcassets
AppIcon.appiconset
Contents.json 585B
Podfile 138B
bin
setup 402B
run-tests 459B
.travis.yml 1KB
SQLiteMigrationManager.xcodeproj
xcshareddata
xcschemes
SQLiteMigrationManager iOS.xcscheme 4KB
SQLiteMigrationManager macOS.xcscheme 4KB
project.xcworkspace
xcshareddata
IDEWorkspaceChecks.plist 238B
contents.xcworkspacedata 167B
project.pbxproj 32KB
xcuserdata
garriguv.xcuserdatad
xcschemes
xcschememanagement.plist 865B
LICENSE 1KB
CHANGELOG.md 2KB
.swift-version 4B
.gitmodules 142B
README.md 5KB
Package.resolved 337B
Cartfile.resolved 44B
Cartfile 45B
SQLiteMigrationManager macOS
SQLiteMigrationManagerMacOs.h 636B
Info.plist 841B
SQLiteMigrationManager.xcworkspace
xcshareddata
IDEWorkspaceChecks.plist 238B
contents.xcworkspacedata 567B
SQLiteMigrationManagerTests iOS
Info.plist 733B
Package.swift 762B
Carthage
Checkouts
SQLite.swift
Tests
resources
Migrations-names.bundle
3_add-new-table.sql 0B
2_add_new_table.sql 0B
1.sql 0B
4_add new table.sql 0B
Migrations_empty.bundle
not_a_migration.txt 16B
Migrations.bundle
20160117220050560_third.sql 93B
20160117220032473_create-db.sql 154B
20160117220038856_second.sql 88B
malformed.sql 0B
3_add-row.sql 45B
SQLiteMigrationManagerTests.swift 12KB
SQLiteMigrationManager.swift.podspec 875B
共 54 条
- 1
资源评论
大白兔奶棠
- 粉丝: 26
- 资源: 4661
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功