Ryan Leckey
2d38332137
fix: bring back accidentally removed methods on the Migrate trait as deprecated
2021-05-21 17:16:22 -07:00
Evgeny Nosov
e4dd1c3a1d
Ignore reversing migrations in migrate! macro
2021-04-08 23:50:39 -07:00
Evgeny Nosov
8b866bb23d
Fix migrate! macro
2021-04-08 23:50:39 -07:00
Evgeny Nosov
85ff651ba1
Add ignore_missing parameter
2021-04-08 23:50:39 -07:00
Evgeny Nosov
8950332ca3
Rewrite migration algorithm in order to apply also unapplied migrations
2021-04-08 23:50:39 -07:00
mareq
111265b5ab
doc: Add information on the required structure of the migration scripts
2021-02-27 01:06:17 -08:00
Jonas Platte
cdafc8ae17
Upgrade async runtime dependencies
...
Co-authored-by: Josh Toft <joshtoft@gmail.com>
Co-authored-by: Philip A Reimer <antreimer@gmail.com>
2021-01-20 21:49:46 -08:00
Eric Semeniuc
ac0690822c
fix macro
2020-12-19 05:30:20 +00:00
Eric Semeniuc
159dc800bd
Add cfg sqlite condition
2020-12-19 05:30:20 +00:00
Eric Semeniuc
9d5050f6ee
Address pr feedback
2020-12-19 05:30:20 +00:00
Eric Semeniuc
e9e0f6d77b
add new example for migration
2020-12-19 05:30:20 +00:00
Marcin Kaźmierczak
7f1bff406d
fix clipyy warnings
2020-11-24 16:15:22 -08:00
sid
f41551f3ad
reversible migrations for cli
...
- adds a -r flag whihc will create a reversible migration
- add revert subcommand, which reverts the last migration
- add --dry-run flag to migration run command, which list the migrations that will be applied
- updates add migration to check if all migration are of same type, i.e cannot mix and match reversible and simple migrations
2020-11-24 16:04:43 -08:00
Kaleb Elwert
e0ace861c5
Allow MigrationSource to be implemented externally ( #511 )
2020-07-26 20:23:44 -07:00
Raphaël Thériault
435445fbd0
Edit migrator to make it possible to create static instances
2020-07-23 17:54:05 -04:00
Raphaël Thériault
8381e87d4a
Document migrate! (and small fixes)
2020-07-23 15:25:13 -04:00
Raphaël Thériault
e5e9665bd9
Add migrate! macro for embedded migrations
2020-07-23 14:22:50 -04:00
Raphaël Thériault
60c3ece671
Edit Migration and Migrator to make embedded migrations possible
2020-07-23 12:57:48 -04:00
Ryan Leckey
d10f299c55
test: tweak in-code examples for latest refactors
2020-07-12 04:30:10 -07:00
Ryan Leckey
61e4a4f566
feat: finish v1 of both cli and embedded migrations
2020-07-12 03:43:55 -07:00