Skip to content

Commit

Permalink
Eradicate page_translations -- where did this come from? We don't use…
Browse files Browse the repository at this point in the history
… it, no model for it.. gone
  • Loading branch information
parndt committed Jul 29, 2010
1 parent f28b876 commit 5f50283
Show file tree
Hide file tree
Showing 4 changed files with 855 additions and 841 deletions.
12 changes: 0 additions & 12 deletions db/migrate/20100606173919_create_page_translations.rb

This file was deleted.

12 changes: 12 additions & 0 deletions db/migrate/20100729221735_remove_page_translations_if_present.rb
@@ -0,0 +1,12 @@
class RemovePageTranslationsIfPresent < ActiveRecord::Migration
def self.up
begin
drop_table :page_translations
rescue
puts "-- page_translations did not exist, all is well."
end
end

def self.down
end
end
10 changes: 2 additions & 8 deletions db/schema.rb
@@ -1,4 +1,4 @@
# This file is auto-generated from the current state of the database. Instead of editing this file,
# This file is auto-generated from the current state of the database. Instead of editing this file,
# please use the migrations feature of Active Record to incrementally modify your database, and
# then regenerate this schema definition.
#
Expand All @@ -9,7 +9,7 @@
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20100708014636) do
ActiveRecord::Schema.define(:version => 20100729221735) do

create_table "images", :force => true do |t|
t.integer "parent_id"
Expand Down Expand Up @@ -58,12 +58,6 @@
add_index "page_parts", ["id"], :name => "index_page_parts_on_id"
add_index "page_parts", ["page_id"], :name => "index_page_parts_on_page_id"

create_table "page_translations", :force => true do |t|
t.integer "page_id"
t.string "custom_title"
t.string "meta_keywords"
end

create_table "pages", :force => true do |t|
t.string "title"
t.integer "parent_id"
Expand Down

0 comments on commit 5f50283

Please sign in to comment.