From 1a5af29d14f2c0f099a7dafe1565cbea2fd23d7f Mon Sep 17 00:00:00 2001 From: Godwin Date: Sun, 9 Mar 2014 15:47:42 -0600 Subject: [PATCH] The working basics --- db/migrate/20140209021801_create_translations.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/db/migrate/20140209021801_create_translations.rb b/db/migrate/20140209021801_create_translations.rb index 2ad25d3..3f201ca 100644 --- a/db/migrate/20140209021801_create_translations.rb +++ b/db/migrate/20140209021801_create_translations.rb @@ -1,5 +1,5 @@ class CreateTranslations < ActiveRecord::Migration - def self.up + def change create_table :translations do |t| t.string :locale t.string :key @@ -10,8 +10,4 @@ class CreateTranslations < ActiveRecord::Migration t.timestamps end end - - def self.down - drop_table :translations - end end