Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Lustra::Migration::CreateIndex
Inherits
Lustra::Migration::Operation
<
Lustra::ErrorMessages
<
Reference
<
Object
Constructors
new
(table :
String
, fields :
Array
(
String
), name = nil, using :
Nil
|
String
= nil, unique :
Bool
= false)
Source
new
(table :
String
, field :
String
|
Symbol
, name = nil, using :
Nil
|
String
= nil, unique :
Bool
= false)
Source
Instance methods
down
Source
safe_name
(x)
Source
up
Source