Home
Create Migration
Create Table
Alter Table
Table Name
Table name is required
Auto-Increment BIGINT Id
Created at & Updated at
Remeber Token
Soft Delete
Soft Delete Timezone
Add New Column
Column Name
column name required!
Column Type
Select Column Type
integer
varchar
text
date
bigInteger
integer
mediumInteger
smallInteger
tinyInteger
unsignedBigInteger
unsignedDecimal
unsignedInteger
unsignedMediumInteger
unsignedSmallInteger
unsignedTinyInteger
float
decimal
double
boolean
foreignId
date
dateTime
dateTimeTz
nullableTimestamps
timestampTz
timestamp
timestampsTz
timestamps
char
string
text
mediumText
longText
binary
enum
set
geometry
point
lineString
polygon
multiPoint
multiLineString
multiPolygon
geometryCollection
json
jsonb
renameColumn
renameIndex
morphs
ipAddress
macAddress
uuidMorphs
uuid
year
nullableMorphs
nullableUuidMorphs
increments
tinyIncrements
smallIncrements
mediumIncrements
column type required!
Rename
Enum Value
enum value required!
Length
Default
After
Comment
Add Index
Add Index
primary
unique
index
spatialIndex
Change
Nullable
Remove
Migration Code
Copy to clipboard