Skip to content

Commit

Permalink
Invoke seed from migration, rename to engine name per convention
Browse files Browse the repository at this point in the history
  • Loading branch information
unixcharles committed May 26, 2011
1 parent e67dba0 commit a39a53d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion db/migrate/1_create_translations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ def self.up
t.timestamps
end

add_index :translations, :id
add_index :translations, :name

load(Rails.root.join('db', 'seeds', 'refinerycms_translation.rb').to_s)
end

def self.down
Expand Down
File renamed without changes.

0 comments on commit a39a53d

Please sign in to comment.