mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-31 05:42:13 +02:00
added some more fields to the users table
This commit is contained in:
parent
6a9619a70c
commit
e396e0f593
2 changed files with 11 additions and 1 deletions
7
db/migrate/20160105165913_add_export_fields_to_users.rb
Normal file
7
db/migrate/20160105165913_add_export_fields_to_users.rb
Normal 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
|
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# 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
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
|
@ -273,6 +273,9 @@ ActiveRecord::Schema.define(version: 20150826224857) do
|
||||||
t.datetime "confirmation_sent_at"
|
t.datetime "confirmation_sent_at"
|
||||||
t.string "unconfirmed_email"
|
t.string "unconfirmed_email"
|
||||||
t.boolean "show_foreign_themes", default: true, null: false
|
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
|
end
|
||||||
|
|
||||||
add_index "users", ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true, using: :btree
|
add_index "users", ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true, using: :btree
|
||||||
|
|
Loading…
Reference in a new issue