lib/rflow/configuration/migrations/20010101000003_create_ports.rb in rflow-1.2.0 vs lib/rflow/configuration/migrations/20010101000003_create_ports.rb in rflow-1.3.0a1
- old
+ new
@@ -8,10 +8,10 @@
t.text :type
# UUID version of belongs_to :component
t.string :component_uuid
- t.timestamps
+ t.timestamps null: false
end
add_index :ports, :uuid, :unique => true
add_index :ports, :component_uuid
add_index :ports, [:component_uuid, :name], :unique => true