mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Change visit_id type of ahoy_events to integer
The id column of the visits table is of type integer
This commit is contained in:
parent
c21c9af60f
commit
364be55412
2 changed files with 7 additions and 2 deletions
|
|
@ -0,0 +1,5 @@
|
|||
class ChangeVisitIdTypeOfAhoyEventsToInteger < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
change_column :ahoy_events, :visit_id, :integer, limit: nil
|
||||
end
|
||||
end
|
||||
|
|
@ -10,10 +10,10 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20170924190528) do
|
||||
ActiveRecord::Schema.define(version: 20171118113113) do
|
||||
|
||||
create_table "ahoy_events", force: :cascade do |t|
|
||||
t.binary "visit_id", limit: 16
|
||||
t.integer "visit_id"
|
||||
t.integer "user_id"
|
||||
t.string "name"
|
||||
t.text "properties"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue