added some more fields to the users table

This commit is contained in:
Georg G 2016-01-05 18:03:39 +01:00
parent 6a9619a70c
commit e396e0f593
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,7 @@
class AddExportFieldsToUsers < ActiveRecord::Migration
def change
add_column :users, :export_url, :string
add_column :users, :export_processing, :boolean, default: false, null: false
add_column :users, :export_created_at, :datetime
end
end

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150826224857) do
ActiveRecord::Schema.define(version: 20160105165913) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -273,6 +273,9 @@ ActiveRecord::Schema.define(version: 20150826224857) do
t.datetime "confirmation_sent_at"
t.string "unconfirmed_email"
t.boolean "show_foreign_themes", default: true, null: false
t.string "export_url"
t.boolean "export_processing", default: false, null: false
t.datetime "export_created_at"
end
add_index "users", ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true, using: :btree