12 lines
182 B
Ruby
12 lines
182 B
Ruby
class CreateMetric < ActiveGraph::Migrations::Base
|
|
disable_transactions!
|
|
|
|
def up
|
|
add_constraint :Metric, :uuid
|
|
end
|
|
|
|
def down
|
|
drop_constraint :Metric, :uuid
|
|
end
|
|
end
|