crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
9becfc9d
ROOT
/
go
/
libraries
/
doltcore
/
merge
/
schema_integration_test.go
Search
History
691 lines
|
ISO-8859-1
|
25 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
testCommand
cmd
:
cli.Command
args
:
args
exec
(t *testing.T, ctx context.Context, dEnv *env.DoltEnv)
args
TestMergeSchemas
(t *testing.T)
mergeSchemaTest
name
:
string
setup
:
[]testCommand
sch
:
schema.Schema
mergeSchemaConflictTest
name
:
string
setup
:
[]testCommand
expConflict
:
merge.SchemaConflict
expectedErr
:
error
mergeForeignKeyTest
name
:
string
setup
:
[]testCommand
fkColl
:
*doltdb.ForeignKeyCollection
expFKConflict
:
[]merge.FKConflict
setupCommon
mergeSchemaTests
mergeSchemaConflictTests
setupForeignKeyTests
mergeForeignKeyTests
colCollection
(cols ...schema.Column)
:
*schema.ColCollection
schemaFromColsAndIdxs
(allCols *schema.ColCollection, indexes ...schema.Index)
:
schema.Schema
newColTypeInfo
(name string, tag uint64, typeInfo typeinfo.TypeInfo, partOfPK bool, constraints ...schema.ColConstraint)
:
schema.Column
fkCollection
(fks ...doltdb.ForeignKey)
:
*doltdb.ForeignKeyCollection
testMergeSchemas
(t *testing.T, test mergeSchemaTest)
testMergeSchemasWithConflicts
(t *testing.T, test mergeSchemaConflictTest)
testMergeForeignKeys
(t *testing.T, test mergeForeignKeyTest)
All occurrences
Please wait...
Page is in error, reload to recover