Commit c492f002621415eeccadc4acf4675c8e9b7d9da0
1 parent
7045101f
Exists in
master
and in
23 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,7 +9,7 @@ | ||
| 9 | # | 9 | # |
| 10 | # It's strongly recommended to check this file into your version control system. | 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 | create_table "action_tracker", :force => true do |t| | 14 | create_table "action_tracker", :force => true do |t| |
| 15 | t.integer "user_id" | 15 | t.integer "user_id" |
| @@ -72,6 +72,8 @@ ActiveRecord::Schema.define(:version => 20101202205446) do | @@ -72,6 +72,8 @@ ActiveRecord::Schema.define(:version => 20101202205446) do | ||
| 72 | t.string "external_link" | 72 | t.string "external_link" |
| 73 | t.boolean "thumbnails_processed", :default => false | 73 | t.boolean "thumbnails_processed", :default => false |
| 74 | t.boolean "is_image", :default => false | 74 | t.boolean "is_image", :default => false |
| 75 | + t.integer "translation_of_id" | ||
| 76 | + t.string "language" | ||
| 75 | end | 77 | end |
| 76 | 78 | ||
| 77 | create_table "articles", :force => true do |t| | 79 | create_table "articles", :force => true do |t| |
| @@ -109,8 +111,12 @@ ActiveRecord::Schema.define(:version => 20101202205446) do | @@ -109,8 +111,12 @@ ActiveRecord::Schema.define(:version => 20101202205446) do | ||
| 109 | t.string "external_link" | 111 | t.string "external_link" |
| 110 | t.boolean "thumbnails_processed", :default => false | 112 | t.boolean "thumbnails_processed", :default => false |
| 111 | t.boolean "is_image", :default => false | 113 | t.boolean "is_image", :default => false |
| 114 | + t.integer "translation_of_id" | ||
| 115 | + t.string "language" | ||
| 112 | end | 116 | end |
| 113 | 117 | ||
| 118 | + add_index "articles", ["translation_of_id"], :name => "index_articles_on_translation_of_id" | ||
| 119 | + | ||
| 114 | create_table "articles_categories", :id => false, :force => true do |t| | 120 | create_table "articles_categories", :id => false, :force => true do |t| |
| 115 | t.integer "article_id" | 121 | t.integer "article_id" |
| 116 | t.integer "category_id" | 122 | t.integer "category_id" |