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
0324e075
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
alterschema.go
Search
History
394 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
renameTable
(ctx context.Context, root *doltdb.RootValue, oldName, newName string)
:
(*doltdb.RootValue, error)
Nullable
NotNull
:
Nullable
Null
:
Nullable
addColumnToTable
( ctx context.Context, root *doltdb.RootValue, tbl *doltdb.Table, tblName string, tag uint64, newColName string, typeInfo typeinfo.TypeInfo, nullable Nullable, defaultVal *sql.ColumnDefaultValue, comment string, order *sql.ColumnOrder, )
:
(*doltdb.Table, error)
orderToOrder
(order *sql.ColumnOrder)
:
*schema.ColumnOrder
createColumn
(nullable Nullable, newColName string, tag uint64, typeInfo typeinfo.TypeInfo, defaultVal, comment string)
:
(schema.Column, error)
validateNewColumn
( ctx context.Context, root *doltdb.RootValue, tbl *doltdb.Table, tblName string, tag uint64, newColName string, typeInfo typeinfo.TypeInfo, )
:
error
ErrPrimaryKeySetsIncompatible
modifyColumn
( ctx context.Context, tbl *doltdb.Table, existingCol schema.Column, newCol schema.Column, order *sql.ColumnOrder, )
:
(*doltdb.Table, error)
replaceColumnInSchema
(sch schema.Schema, oldCol schema.Column, newCol schema.Column, order *sql.ColumnOrder)
:
(schema.Schema, error)
modifyPkOrdinals
(oldSch, newSch schema.Schema)
:
([]int, error)
ErrKeylessAltTbl
backupFkcIndexesForPkDrop
(ctx *sql.Context, sch schema.Schema, fkc *doltdb.ForeignKeyCollection)
:
([]doltdb.FkIndexUpdate, error)
All occurrences
Please wait...
Page is in error, reload to recover