Skip to content

Commit 5c0a82b

Browse files
authored
Merge pull request activeadmin#4889 from Neodelf/master
Remove empty rows generated in migration
2 parents 17bfb43 + dad8d38 commit 5c0a82b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb.erb

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<%
22
parent_class = ActiveRecord::Migration
33
parent_class = parent_class[5.0] if Rails::VERSION::MAJOR >= 5
4-
%>
5-
4+
-%>
65
class CreateActiveAdminComments < <%= parent_class.to_s %>
76
def self.up
87
create_table :active_admin_comments do |t|

0 commit comments

Comments
 (0)