lib/rflow/configuration/migrations/20010101000003_create_ports.rb in rflow-0.0.5 vs lib/rflow/configuration/migrations/20010101000003_create_ports.rb in rflow-1.0.0a1
- old
+ new
@@ -5,20 +5,20 @@
t.string :name
# For STI
t.text :type
- # UUID version of belongs_to :component
+ # UUID version of belongs_to :component
t.string :component_uuid
-
+
t.timestamps
end
add_index :ports, :uuid, :unique => true
add_index :ports, :component_uuid
add_index :ports, [:component_uuid, :name], :unique => true
end
-
+
def self.down
drop_table :ports
end
end