mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
Upgraded papertrail to 4.0.0.beta2
This commit is contained in:
parent
960cc0e195
commit
bd02845324
5 changed files with 61 additions and 24 deletions
21
db/schema.rb
21
db/schema.rb
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150120140346) do
|
||||
ActiveRecord::Schema.define(version: 20150122091557) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -328,16 +328,27 @@ ActiveRecord::Schema.define(version: 20150120140346) do
|
|||
t.string "roles", array: true
|
||||
end
|
||||
|
||||
create_table "version_associations", force: :cascade do |t|
|
||||
t.integer "version_id"
|
||||
t.string "foreign_key_name", null: false
|
||||
t.integer "foreign_key_id"
|
||||
end
|
||||
|
||||
add_index "version_associations", ["foreign_key_name", "foreign_key_id"], name: "index_version_associations_on_foreign_key", using: :btree
|
||||
add_index "version_associations", ["version_id"], name: "index_version_associations_on_version_id", using: :btree
|
||||
|
||||
create_table "versions", force: :cascade do |t|
|
||||
t.string "item_type", limit: 255, null: false
|
||||
t.integer "item_id", null: false
|
||||
t.string "event", limit: 255, null: false
|
||||
t.string "whodunnit", limit: 255
|
||||
t.string "item_type", limit: 255, null: false
|
||||
t.integer "item_id", null: false
|
||||
t.string "event", limit: 255, null: false
|
||||
t.string "whodunnit", limit: 255
|
||||
t.text "object"
|
||||
t.datetime "created_at"
|
||||
t.integer "transaction_id"
|
||||
end
|
||||
|
||||
add_index "versions", ["item_type", "item_id"], name: "index_versions_on_item_type_and_item_id", using: :btree
|
||||
add_index "versions", ["transaction_id"], name: "index_versions_on_transaction_id", using: :btree
|
||||
|
||||
create_table "zonefile_settings", force: :cascade do |t|
|
||||
t.string "origin", limit: 255
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue