mirror of
https://github.com/openSUSE/osem.git
synced 2026-01-06 13:07:48 -05: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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user