Skip to content
代码片段 群组 项目
提交 8d1321d6 编辑于 作者: Rubén Dávila's avatar Rubén Dávila 提交者: Ruben Davila
浏览文件

Add theme_id column to users table

上级 86cbf60c
No related branches found
No related tags found
无相关合并请求
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
class AddThemeIdToUsers < ActiveRecord::Migration
DOWNTIME = false
def change
add_column :users, :theme_id, :integer, limit: 2
end
end
...@@ -1614,6 +1614,7 @@ ...@@ -1614,6 +1614,7 @@
t.boolean "notified_of_own_activity" t.boolean "notified_of_own_activity"
t.string "preferred_language" t.string "preferred_language"
t.string "rss_token" t.string "rss_token"
t.integer "theme_id", limit: 2
end end
add_index "users", ["admin"], name: "index_users_on_admin", using: :btree add_index "users", ["admin"], name: "index_users_on_admin", using: :btree
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册