Column
Adds a column to a table.
Command
Arguments
[TABLE]
- The name of the table.[COLUMN]
- The name of the column.[TYPE]
- The column type.
Options/flags
--options
alias-o
(Possible values: [limit, default, null, precision, scale])Additional options for the column.
Examples
$ eucalypt m add column games eco integer
Adds an
eco
column to thegames
table, with typeinteger
(with default options).$ eucalypt m add column games eco integer -o null:false
Adds a non-null
eco
column to thegames
table, with typeinteger
(with default options).
Last updated