Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove sitealizer table #1089

Merged
merged 2 commits into from
Oct 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# frozen_string_literal: true

# This migration comes from publify_core_engine (originally 20221007091049)
class RemoveTableSitealizer < ActiveRecord::Migration[6.1]
def up
drop_table :sitealizer
end

def down
create_table :sitealizer do |t|
t.string :path
t.string :ip
t.string :referer
t.string :language
t.string :user_agent
t.datetime :created_at
t.date :created_on
end
end
end
12 changes: 1 addition & 11 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2020_04_13_141133) do
ActiveRecord::Schema.define(version: 2022_10_07_091118) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand Down Expand Up @@ -144,16 +144,6 @@
t.index ["id", "type"], name: "index_sidebars_on_id_and_type"
end

create_table "sitealizer", id: :serial, force: :cascade do |t|
t.string "path"
t.string "ip"
t.string "referer"
t.string "language"
t.string "user_agent"
t.datetime "created_at"
t.date "created_on"
end

create_table "tags", id: :serial, force: :cascade do |t|
t.string "name"
t.datetime "created_at"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# frozen_string_literal: true

# This migration comes from publify_core_engine (originally 20221007091049)
class RemoveTableSitealizer < ActiveRecord::Migration[6.1]
def up
drop_table :sitealizer
end

def down
create_table :sitealizer do |t|
t.string :path
t.string :ip
t.string :referer
t.string :language
t.string :user_agent
t.datetime :created_at
t.date :created_on
end
end
end
12 changes: 1 addition & 11 deletions publify_amazon_sidebar/spec/dummy/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2020_04_13_141252) do
ActiveRecord::Schema.define(version: 2022_10_07_091137) do

create_table "blogs", force: :cascade do |t|
t.text "settings"
Expand Down Expand Up @@ -132,16 +132,6 @@
t.index ["id", "type"], name: "index_sidebars_on_id_and_type"
end

create_table "sitealizer", force: :cascade do |t|
t.string "path"
t.string "ip"
t.string "referer"
t.string "language"
t.string "user_agent"
t.datetime "created_at"
t.date "created_on"
end

create_table "tags", force: :cascade do |t|
t.string "name"
t.datetime "created_at"
Expand Down
1 change: 1 addition & 0 deletions publify_core/Manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ db/migrate/20190208152646_move_text_filter_to_name.rb
db/migrate/20190209155717_remove_text_filter_ids.rb
db/migrate/20190209160610_remove_text_filters.rb
db/migrate/20200413140440_add_unique_indexes.rb
db/migrate/20221007091049_remove_table_sitealizer.rb
db/seeds.rb
lib/email_notify.rb
lib/format.rb
Expand Down
19 changes: 19 additions & 0 deletions publify_core/db/migrate/20221007091049_remove_table_sitealizer.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# frozen_string_literal: true

class RemoveTableSitealizer < ActiveRecord::Migration[6.1]
def up
drop_table :sitealizer
end

def down
create_table :sitealizer do |t|
t.string :path
t.string :ip
t.string :referer
t.string :language
t.string :user_agent
t.datetime :created_at
t.date :created_on
end
end
end
12 changes: 1 addition & 11 deletions publify_core/spec/dummy/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2020_04_13_140440) do
ActiveRecord::Schema.define(version: 2022_10_07_091049) do

create_table "blogs", force: :cascade do |t|
t.text "settings"
Expand Down Expand Up @@ -132,16 +132,6 @@
t.index ["id", "type"], name: "index_sidebars_on_id_and_type"
end

create_table "sitealizer", force: :cascade do |t|
t.string "path"
t.string "ip"
t.string "referer"
t.string "language"
t.string "user_agent"
t.datetime "created_at"
t.date "created_on"
end

create_table "tags", force: :cascade do |t|
t.string "name"
t.datetime "created_at"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# frozen_string_literal: true

# This migration comes from publify_core_engine (originally 20221007091049)
class RemoveTableSitealizer < ActiveRecord::Migration[6.1]
def up
drop_table :sitealizer
end

def down
create_table :sitealizer do |t|
t.string :path
t.string :ip
t.string :referer
t.string :language
t.string :user_agent
t.datetime :created_at
t.date :created_on
end
end
end
12 changes: 1 addition & 11 deletions publify_textfilter_code/spec/dummy/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2020_04_13_141331) do
ActiveRecord::Schema.define(version: 2022_10_07_091208) do

create_table "blogs", force: :cascade do |t|
t.text "settings"
Expand Down Expand Up @@ -132,16 +132,6 @@
t.index ["id", "type"], name: "index_sidebars_on_id_and_type"
end

create_table "sitealizer", force: :cascade do |t|
t.string "path"
t.string "ip"
t.string "referer"
t.string "language"
t.string "user_agent"
t.datetime "created_at"
t.date "created_on"
end

create_table "tags", force: :cascade do |t|
t.string "name"
t.datetime "created_at"
Expand Down