Comments (6)
Got it, haven't bothered with temporal tables at all, so chances are that those won't work.
Anyway, check out my fork here:
https://github.com/robertmantissa/Respawn
(Simply did a:
var checkpoint = new Checkpoint();
checkpoint.WithReseed = true;
to keep the current api)
from respawn.
Oh that's interesting. I don't know if other databases support this kind of thing, maybe it could be exposed through some kind of options object?
from respawn.
After some quick googling it seems to be possible in both MySQL and Oracle.
I will create a fork and add the SQL Server functionality first, and we'll take it from there.
Regarding temporal tables, those were new to me. I guess there might be issues with reseeding those. I'll keep them in mind.
from respawn.
from respawn.
Hi,
I want to add few words:
We had problems with randomly failing tests.. I was struggling almost 2 days until I've found out that the problem is with Respawn and Identity value when tests are run in appropriate order. Then I've run into this pull request!
For my team changes that @robertmantissa proposed are crucial to be able to still use Respawn with ease. Please consider this @jbogard .
Important note: code prepared by @robertmantissa not covers scenario when table has custom IDENTITY SEED initial value. For example 1000 instead of 1. I had problems with it, so I've added fix to the @robertmantissa code and created pull request to his fork. Please check it out here: pull request
Right now I have to use locally compiled version of respawn which includes @robertmantissa and my changes, but I would like to go back to yours nugget package as soon as possible.
from respawn.
Solved with pull request #40
from respawn.
Related Issues (20)
- Checkpoints aren't checkpoints - misleading/missing documentation & naming
- Error in Reset with system-versioned tables leaves system-versioning off
- PostgresDbAdapter - ERROR: operator does not exist: information_schema.sql_identifier + unknown
- Feature: Any plans to support MondoDB HOT 1
- Issue with truncate cascade in Postgres HOT 1
- Getting Error in ResetAsync with EmptyDatabase HOT 11
- Support for MongoDB HOT 1
- Continues to truncate Table User even if its ignored. HOT 1
- When all tables ignored, error: `BeginExecuteNonQuery: CommandText property has not been initialized.` is thrown by Respawn
- Oracle error while creating respawner when include table with schema name
- DbAdapter = DbAdapter.MySql ignored HOT 5
- SqlServer - reseed error if database is case sensitivity HOT 1
- 6.0.1 Release? HOT 1
- Cannot delete rows from a temporal history table HOT 1
- Would there be reset to snapshot feature someday? HOT 9
- Respawn if there is nothing to clear at the moment doesn't work HOT 5
- Have the option to use DELETE statements for Postgres to increase performance HOT 1
- Use `TRUNCATE TABLE` with Sql Server HOT 3
- Respawn Not Clearing Azure Databases HOT 3
- Could not load file or assembly Respawn
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from respawn.