Home
Create Migration
Create Table
Alter Table
Table Name
Table name is required
Auto-Increment BIGINT Id
Created at & Updated at
Remeber Token
Delete At
Add New Column
Column Name
column name required!
Column Type
INTEGER
TINYINT
SMALLINT
MEDIUMINT
BIGINT
FLOAT
REAL
DOUBLE
DECIMAL
NUMERIC
BOOLEAN
STRING
CHAR
TEXT
UUID
UUIDV1
UUIDV4
CITEXT
TSVECTOR
DATE
DATEONLY
TIME
NOW
BLOB
BUFFER
JSON
JSONB
ENUM
GEOMETRY
GEOGRAPHY
RANGE
INET
CIDR
MACADDR
RE-NAME-COLUMN
RE-NAME-INDEX
column type required!
Rename
Enum Value
enum value required!
Length
Default
After
Comment
Add Index
Add Index
primary (all databases)
unique (all databases)
index (all databases)
fulltext index (MySQL, PostgreSQL)
gin index (PostgreSQL)
gist index (PostgreSQL)
hash index (PostgreSQL)
spatial index (PostgreSQL, MySQL)
Change
Not Null
Remove
Migration Code
Copy to clipboard