tracks visits from different email templates
This commit is contained in:
10
db/migrate/20151020135111_create_campaigns.rb
Normal file
10
db/migrate/20151020135111_create_campaigns.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateCampaigns < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :campaigns do |t|
|
||||
t.string :name
|
||||
t.string :track_id
|
||||
|
||||
t.timestamps null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -12,7 +12,6 @@
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20151021113348) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
@@ -48,6 +47,13 @@ ActiveRecord::Schema.define(version: 20151021113348) do
|
||||
add_index "ahoy_events", ["user_id"], name: "index_ahoy_events_on_user_id", using: :btree
|
||||
add_index "ahoy_events", ["visit_id"], name: "index_ahoy_events_on_visit_id", using: :btree
|
||||
|
||||
create_table "campaigns", force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.string "track_id"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
create_table "comments", force: :cascade do |t|
|
||||
t.integer "commentable_id"
|
||||
t.string "commentable_type"
|
||||
|
||||
Reference in New Issue
Block a user