about summary refs log tree commit diff stats
path: root/db/migrate/20180704144707_unrequire_blog_slug.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20180704144707_unrequire_blog_slug.rb')
-rw-r--r--db/migrate/20180704144707_unrequire_blog_slug.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20180704144707_unrequire_blog_slug.rb b/db/migrate/20180704144707_unrequire_blog_slug.rb new file mode 100644 index 0000000..e9444db --- /dev/null +++ b/db/migrate/20180704144707_unrequire_blog_slug.rb
@@ -0,0 +1,5 @@
1class UnrequireBlogSlug < ActiveRecord::Migration[5.1]
2 def change
3 change_column_null :blogs, :slug, true
4 end
5end