Sha256: b83dfc4d992c7c4dfbf33b9a2b4945551c3d8d2d03460dc4099b5c7c2af29325

Contents?: true

Size: 229 Bytes

Versions: 4

Compression:

Stored size: 229 Bytes

Contents

class RemoveNotNullContrainsFromNodeSlug < ActiveRecord::Migration
  def change
    change_column :theblog_content_nodes, :slug, :string, null: true
    change_column :theblog_content_nodes, :title, :string, null: true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
theblog-0.0.2.3 db/migrate/20151125193737_remove_not_null_contrains_from_node_slug.rb
theblog-0.0.2.2 db/migrate/20151125193737_remove_not_null_contrains_from_node_slug.rb
theblog-0.0.2.1 db/migrate/20151125193737_remove_not_null_contrains_from_node_slug.rb
theblog-0.0.2 db/migrate/20151125193737_remove_not_null_contrains_from_node_slug.rb