Commit c492f002621415eeccadc4acf4675c8e9b7d9da0
1 parent
7045101f
Exists in
master
and in
29 other branches
Updating database schema
(ActionItem1733)
Showing
1 changed file
with
7 additions
and
1 deletions
Show diff stats
db/schema.rb
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | # |
| 10 | 10 | # It's strongly recommended to check this file into your version control system. |
| 11 | 11 | |
| 12 | -ActiveRecord::Schema.define(:version => 20101202205446) do | |
| 12 | +ActiveRecord::Schema.define(:version => 20101205034144) do | |
| 13 | 13 | |
| 14 | 14 | create_table "action_tracker", :force => true do |t| |
| 15 | 15 | t.integer "user_id" |
| ... | ... | @@ -72,6 +72,8 @@ ActiveRecord::Schema.define(:version => 20101202205446) do |
| 72 | 72 | t.string "external_link" |
| 73 | 73 | t.boolean "thumbnails_processed", :default => false |
| 74 | 74 | t.boolean "is_image", :default => false |
| 75 | + t.integer "translation_of_id" | |
| 76 | + t.string "language" | |
| 75 | 77 | end |
| 76 | 78 | |
| 77 | 79 | create_table "articles", :force => true do |t| |
| ... | ... | @@ -109,8 +111,12 @@ ActiveRecord::Schema.define(:version => 20101202205446) do |
| 109 | 111 | t.string "external_link" |
| 110 | 112 | t.boolean "thumbnails_processed", :default => false |
| 111 | 113 | t.boolean "is_image", :default => false |
| 114 | + t.integer "translation_of_id" | |
| 115 | + t.string "language" | |
| 112 | 116 | end |
| 113 | 117 | |
| 118 | + add_index "articles", ["translation_of_id"], :name => "index_articles_on_translation_of_id" | |
| 119 | + | |
| 114 | 120 | create_table "articles_categories", :id => false, :force => true do |t| |
| 115 | 121 | t.integer "article_id" |
| 116 | 122 | t.integer "category_id" | ... | ... |