Commit Graph

14 Commits

Author SHA1 Message Date
Andy Arthur
01587c8c20 more BATS skips for __DOLT_1__ 2022-05-10 14:08:47 -07:00
Jason Fulghum
4bebbcb892 Adding a BATS test to assert that a diff of a commit range that includes created or dropped tables shows a summary of changes, schema changes, and data changes. 2022-04-27 16:44:38 -07:00
jennifersp
94ad6bb78e Retain not null constraint on primary key columns when dropping primary key (#2745) 2022-02-04 15:20:21 -08:00
Vinai Rachakonda
57ab97e743 Fix auto fwt transform to not drop a row on flush (#2490) 2021-12-11 12:35:32 -08:00
Maximilian Hoffman
5976e99c52 default PrimaryKeySchema, maintain primary key ordinals (#2446)
Use `sql.PrimaryKeySchema` in Dolt for PK ordered indexes. Applies to Table and Foreign Key indexes. Column mutation tracks PK Ordinal changes.
2021-12-03 15:56:33 -08:00
James Cor
bebb3e13aa diff must start with diff 2021-11-29 13:17:50 -08:00
James Cor
82785af659 added test to verify that not null constraint sticks even after removing primary key 2021-11-29 13:12:06 -08:00
Zach Musgrave
291fa1317a Fixed foreign key diff tests 2021-11-19 20:08:33 -08:00
Zach Musgrave
87697bedfc Fixed bug in diff with no schema diffs, added a couple new tests to catch it 2021-11-19 16:28:21 -08:00
Zach Musgrave
6394a1dfac Two fixed tests 2021-11-19 15:56:44 -08:00
Vinai Rachakonda
08eb50be97 Unblock Keyless SQL Diffs and Minimize SQL Diffs (#2205)
1. Unblock the ability to get SQL diffs on keyless tables
2. Minimizes the update statements in a SQL diff
2021-10-06 09:44:47 -07:00
Dustin Brown
5371ed510f /integration-tests/bats: fix bats tests 2021-09-23 14:30:43 -07:00
Katie McCulloch
be2b2fc748 bats/diff.bats: Add test for diffing table with same name and different primary key sets 2021-06-29 14:33:24 -07:00
Dustin Brown
61b06450b1 /integration-tests: move bats 2021-03-15 14:04:40 -07:00