abizvn-general 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/serializers/abizvn/general/general_setting_lite_serializer.rb +9 -9
- data/app/services/abizvn/general/general_setting_service.rb +11 -11
- data/lib/abizvn/general/version.rb +5 -5
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +4 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +7 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +22 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/app/views/pwa/manifest.json.erb +22 -0
- data/spec/dummy/app/views/pwa/service-worker.js +26 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/rubocop +8 -0
- data/spec/dummy/bin/setup +37 -0
- data/spec/dummy/config/application.rb +42 -0
- data/spec/dummy/config/boot.rb +3 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +32 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +81 -0
- data/spec/dummy/config/environments/production.rb +105 -0
- data/spec/dummy/config/environments/test.rb +67 -0
- data/spec/dummy/config/initializers/assets.rb +12 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +8 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/new_framework_defaults_7_2.rb +70 -0
- data/spec/dummy/config/initializers/permissions_policy.rb +13 -0
- data/spec/dummy/config/locales/en.yml +31 -0
- data/spec/dummy/config/puma.rb +34 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/config.ru +6 -0
- data/spec/dummy/db/migrate/20250312042100_add_service_name_to_active_storage_blobs.active_storage.rb +22 -0
- data/spec/dummy/db/migrate/20250312042101_create_active_storage_variant_records.active_storage.rb +27 -0
- data/spec/dummy/db/migrate/20250312042102_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb +8 -0
- data/spec/dummy/db/schema.rb +24 -0
- data/spec/dummy/log/development.log +168 -0
- data/spec/dummy/log/test.log +818 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/406-unsupported-browser.html +66 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/icon.png +0 -0
- data/spec/dummy/public/icon.svg +3 -0
- data/spec/dummy/public/robots.txt +1 -0
- data/spec/dummy/storage/development.sqlite3 +0 -0
- data/spec/dummy/storage/test.sqlite3 +0 -0
- data/spec/dummy/tmp/local_secret.txt +1 -0
- data/spec/factories/abizvn/general/general_settings.rb +9 -0
- data/spec/lib/general_spec.rb +7 -0
- data/spec/models/abizvn/general/general_setting_spec.rb +47 -0
- data/spec/rails_helper.rb +84 -0
- data/spec/serializers/abizvn/general/general_setting_lite_serializer_spec.rb +14 -0
- data/spec/services/abizvn/general/general_setting_service_spec.rb +18 -0
- data/spec/spec_helper.rb +94 -0
- data/spec/support/general_validation_helpers.rb +21 -0
- metadata +64 -2
@@ -0,0 +1,25 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Define an application-wide content security policy.
|
4
|
+
# See the Securing Rails Applications Guide for more information:
|
5
|
+
# https://guides.rubyonrails.org/security.html#content-security-policy-header
|
6
|
+
|
7
|
+
# Rails.application.configure do
|
8
|
+
# config.content_security_policy do |policy|
|
9
|
+
# policy.default_src :self, :https
|
10
|
+
# policy.font_src :self, :https, :data
|
11
|
+
# policy.img_src :self, :https, :data
|
12
|
+
# policy.object_src :none
|
13
|
+
# policy.script_src :self, :https
|
14
|
+
# policy.style_src :self, :https
|
15
|
+
# # Specify URI for violation reports
|
16
|
+
# # policy.report_uri "/csp-violation-report-endpoint"
|
17
|
+
# end
|
18
|
+
#
|
19
|
+
# # Generate session nonces for permitted importmap, inline scripts, and inline styles.
|
20
|
+
# config.content_security_policy_nonce_generator = ->(request) { request.session.id.to_s }
|
21
|
+
# config.content_security_policy_nonce_directives = %w(script-src style-src)
|
22
|
+
#
|
23
|
+
# # Report violations without enforcing the policy.
|
24
|
+
# # config.content_security_policy_report_only = true
|
25
|
+
# end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
|
4
|
+
# Use this to limit dissemination of sensitive information.
|
5
|
+
# See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
|
6
|
+
Rails.application.config.filter_parameters += [
|
7
|
+
:passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
|
8
|
+
]
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, "\\1en"
|
8
|
+
# inflect.singular /^(ox)en/i, "\\1"
|
9
|
+
# inflect.irregular "person", "people"
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym "RESTful"
|
16
|
+
# end
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file eases your Rails 7.2 framework defaults upgrade.
|
4
|
+
#
|
5
|
+
# Uncomment each configuration one by one to switch to the new default.
|
6
|
+
# Once your application is ready to run with all new defaults, you can remove
|
7
|
+
# this file and set the `config.load_defaults` to `7.2`.
|
8
|
+
#
|
9
|
+
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
10
|
+
# https://guides.rubyonrails.org/upgrading_ruby_on_rails.html
|
11
|
+
|
12
|
+
###
|
13
|
+
# Controls whether Active Job's `#perform_later` and similar methods automatically defer
|
14
|
+
# the job queuing to after the current Active Record transaction is committed.
|
15
|
+
#
|
16
|
+
# Example:
|
17
|
+
# Topic.transaction do
|
18
|
+
# topic = Topic.create(...)
|
19
|
+
# NewTopicNotificationJob.perform_later(topic)
|
20
|
+
# end
|
21
|
+
#
|
22
|
+
# In this example, if the configuration is set to `:never`, the job will
|
23
|
+
# be enqueued immediately, even though the `Topic` hasn't been committed yet.
|
24
|
+
# Because of this, if the job is picked up almost immediately, or if the
|
25
|
+
# transaction doesn't succeed for some reason, the job will fail to find this
|
26
|
+
# topic in the database.
|
27
|
+
#
|
28
|
+
# If `enqueue_after_transaction_commit` is set to `:default`, the queue adapter
|
29
|
+
# will define the behaviour.
|
30
|
+
#
|
31
|
+
# Note: Active Job backends can disable this feature. This is generally done by
|
32
|
+
# backends that use the same database as Active Record as a queue, hence they
|
33
|
+
# don't need this feature.
|
34
|
+
#++
|
35
|
+
# Rails.application.config.active_job.enqueue_after_transaction_commit = :default
|
36
|
+
|
37
|
+
###
|
38
|
+
# Adds image/webp to the list of content types Active Storage considers as an image
|
39
|
+
# Prevents automatic conversion to a fallback PNG, and assumes clients support WebP, as they support gif, jpeg, and png.
|
40
|
+
# This is possible due to broad browser support for WebP, but older browsers and email clients may still not support
|
41
|
+
# WebP. Requires imagemagick/libvips built with WebP support.
|
42
|
+
#++
|
43
|
+
# Rails.application.config.active_storage.web_image_content_types = %w[image/png image/jpeg image/gif image/webp]
|
44
|
+
|
45
|
+
###
|
46
|
+
# Enable validation of migration timestamps. When set, an ActiveRecord::InvalidMigrationTimestampError
|
47
|
+
# will be raised if the timestamp prefix for a migration is more than a day ahead of the timestamp
|
48
|
+
# associated with the current time. This is done to prevent forward-dating of migration files, which can
|
49
|
+
# impact migration generation and other migration commands.
|
50
|
+
#
|
51
|
+
# Applications with existing timestamped migrations that do not adhere to the
|
52
|
+
# expected format can disable validation by setting this config to `false`.
|
53
|
+
#++
|
54
|
+
# Rails.application.config.active_record.validate_migration_timestamps = true
|
55
|
+
|
56
|
+
###
|
57
|
+
# Controls whether the PostgresqlAdapter should decode dates automatically with manual queries.
|
58
|
+
#
|
59
|
+
# Example:
|
60
|
+
# ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.select_value("select '2024-01-01'::date") #=> Date
|
61
|
+
#
|
62
|
+
# This query used to return a `String`.
|
63
|
+
#++
|
64
|
+
# Rails.application.config.active_record.postgresql_adapter_decode_dates = true
|
65
|
+
|
66
|
+
###
|
67
|
+
# Enables YJIT as of Ruby 3.3, to bring sizeable performance improvements. If you are
|
68
|
+
# deploying to a memory constrained environment you may want to set this to `false`.
|
69
|
+
#++
|
70
|
+
# Rails.application.config.yjit = true
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Define an application-wide HTTP permissions policy. For further
|
4
|
+
# information see: https://developers.google.com/web/updates/2018/06/feature-policy
|
5
|
+
|
6
|
+
# Rails.application.config.permissions_policy do |policy|
|
7
|
+
# policy.camera :none
|
8
|
+
# policy.gyroscope :none
|
9
|
+
# policy.microphone :none
|
10
|
+
# policy.usb :none
|
11
|
+
# policy.fullscreen :self
|
12
|
+
# policy.payment :self, "https://secure.example.com"
|
13
|
+
# end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization and
|
2
|
+
# are automatically loaded by Rails. If you want to use locales other than
|
3
|
+
# English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t "hello"
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t("hello") %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more about the API, please read the Rails Internationalization guide
|
20
|
+
# at https://guides.rubyonrails.org/i18n.html.
|
21
|
+
#
|
22
|
+
# Be aware that YAML interprets the following case-insensitive strings as
|
23
|
+
# booleans: `true`, `false`, `on`, `off`, `yes`, `no`. Therefore, these strings
|
24
|
+
# must be quoted to be interpreted as strings. For example:
|
25
|
+
#
|
26
|
+
# en:
|
27
|
+
# "yes": yup
|
28
|
+
# enabled: "ON"
|
29
|
+
|
30
|
+
en:
|
31
|
+
hello: "Hello world"
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# This configuration file will be evaluated by Puma. The top-level methods that
|
2
|
+
# are invoked here are part of Puma's configuration DSL. For more information
|
3
|
+
# about methods provided by the DSL, see https://puma.io/puma/Puma/DSL.html.
|
4
|
+
|
5
|
+
# Puma starts a configurable number of processes (workers) and each process
|
6
|
+
# serves each request in a thread from an internal thread pool.
|
7
|
+
#
|
8
|
+
# The ideal number of threads per worker depends both on how much time the
|
9
|
+
# application spends waiting for IO operations and on how much you wish to
|
10
|
+
# to prioritize throughput over latency.
|
11
|
+
#
|
12
|
+
# As a rule of thumb, increasing the number of threads will increase how much
|
13
|
+
# traffic a given process can handle (throughput), but due to CRuby's
|
14
|
+
# Global VM Lock (GVL) it has diminishing returns and will degrade the
|
15
|
+
# response time (latency) of the application.
|
16
|
+
#
|
17
|
+
# The default is set to 3 threads as it's deemed a decent compromise between
|
18
|
+
# throughput and latency for the average Rails application.
|
19
|
+
#
|
20
|
+
# Any libraries that use a connection pool or another resource pool should
|
21
|
+
# be configured to provide at least as many connections as the number of
|
22
|
+
# threads. This includes Active Record's `pool` parameter in `database.yml`.
|
23
|
+
threads_count = ENV.fetch("RAILS_MAX_THREADS", 3)
|
24
|
+
threads threads_count, threads_count
|
25
|
+
|
26
|
+
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
27
|
+
port ENV.fetch("PORT", 3000)
|
28
|
+
|
29
|
+
# Allow puma to be restarted by `bin/rails restart` command.
|
30
|
+
plugin :tmp_restart
|
31
|
+
|
32
|
+
# Specify the PID file. Defaults to tmp/pids/server.pid in development.
|
33
|
+
# In other environments, only set the PID file if requested.
|
34
|
+
pidfile ENV["PIDFILE"] if ENV["PIDFILE"]
|
@@ -0,0 +1,34 @@
|
|
1
|
+
test:
|
2
|
+
service: Disk
|
3
|
+
root: <%= Rails.root.join("tmp/storage") %>
|
4
|
+
|
5
|
+
local:
|
6
|
+
service: Disk
|
7
|
+
root: <%= Rails.root.join("storage") %>
|
8
|
+
|
9
|
+
# Use bin/rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
|
10
|
+
# amazon:
|
11
|
+
# service: S3
|
12
|
+
# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
|
13
|
+
# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
|
14
|
+
# region: us-east-1
|
15
|
+
# bucket: your_own_bucket-<%= Rails.env %>
|
16
|
+
|
17
|
+
# Remember not to checkin your GCS keyfile to a repository
|
18
|
+
# google:
|
19
|
+
# service: GCS
|
20
|
+
# project: your_project
|
21
|
+
# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
|
22
|
+
# bucket: your_own_bucket-<%= Rails.env %>
|
23
|
+
|
24
|
+
# Use bin/rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
|
25
|
+
# microsoft:
|
26
|
+
# service: AzureStorage
|
27
|
+
# storage_account_name: your_account_name
|
28
|
+
# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
|
29
|
+
# container: your_container_name-<%= Rails.env %>
|
30
|
+
|
31
|
+
# mirror:
|
32
|
+
# service: Mirror
|
33
|
+
# primary: local
|
34
|
+
# mirrors: [ amazon, google, microsoft ]
|
data/spec/dummy/db/migrate/20250312042100_add_service_name_to_active_storage_blobs.active_storage.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# This migration comes from active_storage (originally 20190112182829)
|
2
|
+
class AddServiceNameToActiveStorageBlobs < ActiveRecord::Migration[6.0]
|
3
|
+
def up
|
4
|
+
return unless table_exists?(:active_storage_blobs)
|
5
|
+
|
6
|
+
unless column_exists?(:active_storage_blobs, :service_name)
|
7
|
+
add_column :active_storage_blobs, :service_name, :string
|
8
|
+
|
9
|
+
if configured_service = ActiveStorage::Blob.service.name
|
10
|
+
ActiveStorage::Blob.unscoped.update_all(service_name: configured_service)
|
11
|
+
end
|
12
|
+
|
13
|
+
change_column :active_storage_blobs, :service_name, :string, null: false
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def down
|
18
|
+
return unless table_exists?(:active_storage_blobs)
|
19
|
+
|
20
|
+
remove_column :active_storage_blobs, :service_name
|
21
|
+
end
|
22
|
+
end
|
data/spec/dummy/db/migrate/20250312042101_create_active_storage_variant_records.active_storage.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# This migration comes from active_storage (originally 20191206030411)
|
2
|
+
class CreateActiveStorageVariantRecords < ActiveRecord::Migration[6.0]
|
3
|
+
def change
|
4
|
+
return unless table_exists?(:active_storage_blobs)
|
5
|
+
|
6
|
+
# Use Active Record's configured type for primary key
|
7
|
+
create_table :active_storage_variant_records, id: primary_key_type, if_not_exists: true do |t|
|
8
|
+
t.belongs_to :blob, null: false, index: false, type: blobs_primary_key_type
|
9
|
+
t.string :variation_digest, null: false
|
10
|
+
|
11
|
+
t.index %i[ blob_id variation_digest ], name: "index_active_storage_variant_records_uniqueness", unique: true
|
12
|
+
t.foreign_key :active_storage_blobs, column: :blob_id
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
private
|
17
|
+
def primary_key_type
|
18
|
+
config = Rails.configuration.generators
|
19
|
+
config.options[config.orm][:primary_key_type] || :primary_key
|
20
|
+
end
|
21
|
+
|
22
|
+
def blobs_primary_key_type
|
23
|
+
pkey_name = connection.primary_key(:active_storage_blobs)
|
24
|
+
pkey_column = connection.columns(:active_storage_blobs).find { |c| c.name == pkey_name }
|
25
|
+
pkey_column.bigint? ? :bigint : pkey_column.type
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# This migration comes from active_storage (originally 20211119233751)
|
2
|
+
class RemoveNotNullOnActiveStorageBlobsChecksum < ActiveRecord::Migration[6.0]
|
3
|
+
def change
|
4
|
+
return unless table_exists?(:active_storage_blobs)
|
5
|
+
|
6
|
+
change_column_null(:active_storage_blobs, :checksum, true)
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
|
+
# of editing this file, please use the migrations feature of Active Record to
|
3
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# This file is the source Rails uses to define your schema when running `bin/rails
|
6
|
+
# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
|
7
|
+
# be faster and is potentially less error prone than running all of your
|
8
|
+
# migrations from scratch. Old migrations may fail to apply correctly if those
|
9
|
+
# migrations use external dependencies or application code.
|
10
|
+
#
|
11
|
+
# It's strongly recommended that you check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema[7.2].define(version: 2025_03_12_042102) do
|
14
|
+
create_table "general_settings", force: :cascade do |t|
|
15
|
+
t.string "group", null: false
|
16
|
+
t.string "code", null: false
|
17
|
+
t.string "value", null: false
|
18
|
+
t.datetime "created_at", null: false
|
19
|
+
t.datetime "updated_at", null: false
|
20
|
+
t.integer "order", default: 0, null: false
|
21
|
+
t.boolean "active", default: true, null: false
|
22
|
+
t.index ["group", "code"], name: "index_general_settings_group_and_code", unique: true
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,168 @@
|
|
1
|
+
[1m[35m (12.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2
|
+
[1m[35m (2.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
3
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.2ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
4
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'development', '2025-03-12 04:22:21.752355', '2025-03-12 04:22:21.752358') RETURNING "key"[0m
|
5
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6
|
+
Migrating to CreateGeneralSettings (20241115080211)
|
7
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
8
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE TABLE "general_settings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "group" varchar, "code" varchar, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
9
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ('20241115080211') RETURNING "version"[0m
|
10
|
+
[1m[36mTRANSACTION (4.1ms)[0m [1m[36mcommit transaction[0m
|
11
|
+
Migrating to AddIndexIntoGeneralSettings (20241116110614)
|
12
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
13
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_general_settings_group_and_code" ON "general_settings" ("group", "code")[0m
|
14
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ('20241116110614') RETURNING "version"[0m
|
15
|
+
[1m[36mTRANSACTION (3.3ms)[0m [1m[36mcommit transaction[0m
|
16
|
+
Migrating to ReviewGeneralSetting (20250104054920)
|
17
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18
|
+
[1m[35m (3.5ms)[0m [1m[35mALTER TABLE "general_settings" ADD "order" integer DEFAULT 0 NOT NULL[0m
|
19
|
+
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "general_settings" ADD "active" boolean DEFAULT 1 NOT NULL[0m
|
20
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ('20250104054920') RETURNING "version"[0m
|
21
|
+
[1m[36mTRANSACTION (1.2ms)[0m [1m[36mcommit transaction[0m
|
22
|
+
Migrating to CreateEntityStatusCollection (20250218110737)
|
23
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
24
|
+
[1m[36mAbizvn::General::GeneralSetting Load (0.1ms)[0m [1m[34mSELECT "general_settings".* FROM "general_settings" WHERE "general_settings"."group" = ? AND "general_settings"."code" = ? LIMIT ?[0m [["group", "entity_status"], ["code", "draft"], ["LIMIT", 1]]
|
25
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
26
|
+
[1m[36mAbizvn::General::GeneralSetting Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "general_settings" WHERE "general_settings"."code" = ? AND "general_settings"."group" = ? LIMIT ?[0m [["code", "draft"], ["group", "entity_status"], ["LIMIT", 1]]
|
27
|
+
[1m[36mAbizvn::General::GeneralSetting Exists? (0.0ms)[0m [1m[34mSELECT 1 AS one FROM "general_settings" WHERE "general_settings"."value" = ? AND "general_settings"."group" = ? LIMIT ?[0m [["value", "Draft"], ["group", "entity_status"], ["LIMIT", 1]]
|
28
|
+
[1m[36mAbizvn::General::GeneralSetting Create (0.6ms)[0m [1m[32mINSERT INTO "general_settings" ("group", "code", "value", "created_at", "updated_at", "order", "active") VALUES (?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["group", "entity_status"], ["code", "draft"], ["value", "Draft"], ["created_at", "2025-03-12 04:22:21.987109"], ["updated_at", "2025-03-12 04:22:21.987109"], ["order", 0], ["active", 1]]
|
29
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
30
|
+
[1m[36mAbizvn::General::GeneralSetting Load (0.0ms)[0m [1m[34mSELECT "general_settings".* FROM "general_settings" WHERE "general_settings"."group" = ? AND "general_settings"."code" = ? LIMIT ?[0m [["group", "entity_status"], ["code", "public"], ["LIMIT", 1]]
|
31
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
32
|
+
[1m[36mAbizvn::General::GeneralSetting Exists? (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "general_settings" WHERE "general_settings"."code" = ? AND "general_settings"."group" = ? LIMIT ?[0m [["code", "public"], ["group", "entity_status"], ["LIMIT", 1]]
|
33
|
+
[1m[36mAbizvn::General::GeneralSetting Exists? (0.0ms)[0m [1m[34mSELECT 1 AS one FROM "general_settings" WHERE "general_settings"."value" = ? AND "general_settings"."group" = ? LIMIT ?[0m [["value", "Public"], ["group", "entity_status"], ["LIMIT", 1]]
|
34
|
+
[1m[36mAbizvn::General::GeneralSetting Create (0.1ms)[0m [1m[32mINSERT INTO "general_settings" ("group", "code", "value", "created_at", "updated_at", "order", "active") VALUES (?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["group", "entity_status"], ["code", "public"], ["value", "Public"], ["created_at", "2025-03-12 04:22:22.000558"], ["updated_at", "2025-03-12 04:22:22.000558"], ["order", 0], ["active", 1]]
|
35
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36
|
+
[1m[36mAbizvn::General::GeneralSetting Load (0.0ms)[0m [1m[34mSELECT "general_settings".* FROM "general_settings" WHERE "general_settings"."group" = ? AND "general_settings"."code" = ? LIMIT ?[0m [["group", "entity_status"], ["code", "invisible"], ["LIMIT", 1]]
|
37
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38
|
+
[1m[36mAbizvn::General::GeneralSetting Exists? (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "general_settings" WHERE "general_settings"."code" = ? AND "general_settings"."group" = ? LIMIT ?[0m [["code", "invisible"], ["group", "entity_status"], ["LIMIT", 1]]
|
39
|
+
[1m[36mAbizvn::General::GeneralSetting Exists? (0.0ms)[0m [1m[34mSELECT 1 AS one FROM "general_settings" WHERE "general_settings"."value" = ? AND "general_settings"."group" = ? LIMIT ?[0m [["value", "Unlist"], ["group", "entity_status"], ["LIMIT", 1]]
|
40
|
+
[1m[36mAbizvn::General::GeneralSetting Create (0.1ms)[0m [1m[32mINSERT INTO "general_settings" ("group", "code", "value", "created_at", "updated_at", "order", "active") VALUES (?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["group", "entity_status"], ["code", "invisible"], ["value", "Unlist"], ["created_at", "2025-03-12 04:22:22.010910"], ["updated_at", "2025-03-12 04:22:22.010910"], ["order", 0], ["active", 1]]
|
41
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
42
|
+
[1m[36mAbizvn::General::GeneralSetting Load (0.0ms)[0m [1m[34mSELECT "general_settings".* FROM "general_settings" WHERE "general_settings"."group" = ? AND "general_settings"."code" = ? LIMIT ?[0m [["group", "entity_status"], ["code", "private"], ["LIMIT", 1]]
|
43
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
44
|
+
[1m[36mAbizvn::General::GeneralSetting Exists? (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "general_settings" WHERE "general_settings"."code" = ? AND "general_settings"."group" = ? LIMIT ?[0m [["code", "private"], ["group", "entity_status"], ["LIMIT", 1]]
|
45
|
+
[1m[36mAbizvn::General::GeneralSetting Exists? (0.0ms)[0m [1m[34mSELECT 1 AS one FROM "general_settings" WHERE "general_settings"."value" = ? AND "general_settings"."group" = ? LIMIT ?[0m [["value", "Private"], ["group", "entity_status"], ["LIMIT", 1]]
|
46
|
+
[1m[36mAbizvn::General::GeneralSetting Create (0.1ms)[0m [1m[32mINSERT INTO "general_settings" ("group", "code", "value", "created_at", "updated_at", "order", "active") VALUES (?, ?, ?, ?, ?, ?, ?) RETURNING "id"[0m [["group", "entity_status"], ["code", "private"], ["value", "Private"], ["created_at", "2025-03-12 04:22:22.021089"], ["updated_at", "2025-03-12 04:22:22.021089"], ["order", 0], ["active", 1]]
|
47
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
48
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ('20250218110737') RETURNING "version"[0m
|
49
|
+
[1m[36mTRANSACTION (5.6ms)[0m [1m[36mcommit transaction[0m
|
50
|
+
Migrating to AddMandatoryFields (20250220044935)
|
51
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
52
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
53
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
|
54
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
|
55
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
56
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "ageneral_settings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "group" varchar, "code" varchar, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "order" integer DEFAULT 0 NOT NULL, "active" boolean DEFAULT 1 NOT NULL)[0m
|
57
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "tindex_ageneral_settings_group_and_code" ON "ageneral_settings" ("group", "code")[0m
|
58
|
+
[1m[35m (0.0ms)[0m [1m[32mINSERT INTO "ageneral_settings" ("id","group","code","value","created_at","updated_at","order","active")
|
59
|
+
SELECT "id","group","code","value","created_at","updated_at","order","active" FROM "general_settings"[0m
|
60
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE "general_settings"[0m
|
61
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "general_settings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "group" varchar NOT NULL, "code" varchar, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "order" integer DEFAULT 0 NOT NULL, "active" boolean DEFAULT 1 NOT NULL)[0m
|
62
|
+
[1m[35m (0.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_general_settings_group_and_code" ON "general_settings" ("group", "code")[0m
|
63
|
+
[1m[35m (0.0ms)[0m [1m[32mINSERT INTO "general_settings" ("id","group","code","value","created_at","updated_at","order","active")
|
64
|
+
SELECT "id","group","code","value","created_at","updated_at","order","active" FROM "ageneral_settings"[0m
|
65
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "ageneral_settings"[0m
|
66
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
|
67
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
68
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
69
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
|
70
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
|
71
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
72
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "ageneral_settings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "group" varchar NOT NULL, "code" varchar, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "order" integer DEFAULT 0 NOT NULL, "active" boolean DEFAULT 1 NOT NULL)[0m
|
73
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "tindex_ageneral_settings_group_and_code" ON "ageneral_settings" ("group", "code")[0m
|
74
|
+
[1m[35m (0.0ms)[0m [1m[32mINSERT INTO "ageneral_settings" ("id","group","code","value","created_at","updated_at","order","active")
|
75
|
+
SELECT "id","group","code","value","created_at","updated_at","order","active" FROM "general_settings"[0m
|
76
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "general_settings"[0m
|
77
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "general_settings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "group" varchar NOT NULL, "code" varchar NOT NULL, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "order" integer DEFAULT 0 NOT NULL, "active" boolean DEFAULT 1 NOT NULL)[0m
|
78
|
+
[1m[35m (0.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_general_settings_group_and_code" ON "general_settings" ("group", "code")[0m
|
79
|
+
[1m[35m (0.0ms)[0m [1m[32mINSERT INTO "general_settings" ("id","group","code","value","created_at","updated_at","order","active")
|
80
|
+
SELECT "id","group","code","value","created_at","updated_at","order","active" FROM "ageneral_settings"[0m
|
81
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "ageneral_settings"[0m
|
82
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
|
83
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
84
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
85
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys[0m
|
86
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = ON[0m
|
87
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
88
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "ageneral_settings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "group" varchar NOT NULL, "code" varchar NOT NULL, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "order" integer DEFAULT 0 NOT NULL, "active" boolean DEFAULT 1 NOT NULL)[0m
|
89
|
+
[1m[35m (0.0ms)[0m [1m[35mCREATE UNIQUE INDEX "tindex_ageneral_settings_group_and_code" ON "ageneral_settings" ("group", "code")[0m
|
90
|
+
[1m[35m (0.0ms)[0m [1m[32mINSERT INTO "ageneral_settings" ("id","group","code","value","created_at","updated_at","order","active")
|
91
|
+
SELECT "id","group","code","value","created_at","updated_at","order","active" FROM "general_settings"[0m
|
92
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "general_settings"[0m
|
93
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "general_settings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "group" varchar NOT NULL, "code" varchar NOT NULL, "value" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "order" integer DEFAULT 0 NOT NULL, "active" boolean DEFAULT 1 NOT NULL)[0m
|
94
|
+
[1m[35m (0.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_general_settings_group_and_code" ON "general_settings" ("group", "code")[0m
|
95
|
+
[1m[35m (0.0ms)[0m [1m[32mINSERT INTO "general_settings" ("id","group","code","value","created_at","updated_at","order","active")
|
96
|
+
SELECT "id","group","code","value","created_at","updated_at","order","active" FROM "ageneral_settings"[0m
|
97
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "ageneral_settings"[0m
|
98
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA defer_foreign_keys = 0[0m
|
99
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
100
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ('20250220044935') RETURNING "version"[0m
|
101
|
+
[1m[36mTRANSACTION (4.1ms)[0m [1m[36mcommit transaction[0m
|
102
|
+
Migrating to AddServiceNameToActiveStorageBlobs (20250312042100)
|
103
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
104
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ('20250312042100') RETURNING "version"[0m
|
105
|
+
[1m[36mTRANSACTION (1.6ms)[0m [1m[36mcommit transaction[0m
|
106
|
+
Migrating to CreateActiveStorageVariantRecords (20250312042101)
|
107
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
108
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ('20250312042101') RETURNING "version"[0m
|
109
|
+
[1m[36mTRANSACTION (1.4ms)[0m [1m[36mcommit transaction[0m
|
110
|
+
Migrating to RemoveNotNullOnActiveStorageBlobsChecksum (20250312042102)
|
111
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
112
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ('20250312042102') RETURNING "version"[0m
|
113
|
+
[1m[36mTRANSACTION (2.0ms)[0m [1m[36mcommit transaction[0m
|
114
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
115
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.7ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
116
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
117
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
118
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.6ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
119
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
120
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
121
|
+
[1m[36mActiveRecord::SchemaMigration Load (3.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
122
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
123
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
124
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
125
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
126
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
127
|
+
[1m[35m (79.0ms)[0m [1m[35mDROP TABLE IF EXISTS "general_settings"[0m
|
128
|
+
[1m[35m (13.1ms)[0m [1m[35mCREATE TABLE "general_settings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "group" varchar NOT NULL, "code" varchar NOT NULL, "value" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "order" integer DEFAULT 0 NOT NULL, "active" boolean DEFAULT 1 NOT NULL)[0m
|
129
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_general_settings_group_and_code" ON "general_settings" ("group", "code")[0m
|
130
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
131
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
132
|
+
[1m[35m (3.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20250312042102)[0m
|
133
|
+
[1m[35m (5.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
134
|
+
(20250312042101),
|
135
|
+
(20250312042100),
|
136
|
+
(20250220044935),
|
137
|
+
(20250218110737),
|
138
|
+
(20250104054920),
|
139
|
+
(20241116110614),
|
140
|
+
(20241115080211);[0m
|
141
|
+
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
142
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.1ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
143
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'development', '2025-03-12 04:52:55.699690', '2025-03-12 04:52:55.699692') RETURNING "key"[0m
|
144
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
145
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "schema_sha1"]]
|
146
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', 'c39726148706e385cc11f2f13a38759323058a50', '2025-03-12 04:52:55.716487', '2025-03-12 04:52:55.716489') RETURNING "key"[0m
|
147
|
+
[1m[35m (49.4ms)[0m [1m[35mDROP TABLE IF EXISTS "general_settings"[0m
|
148
|
+
[1m[35m (13.5ms)[0m [1m[35mCREATE TABLE "general_settings" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "group" varchar NOT NULL, "code" varchar NOT NULL, "value" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "order" integer DEFAULT 0 NOT NULL, "active" boolean DEFAULT 1 NOT NULL)[0m
|
149
|
+
[1m[35m (5.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_general_settings_group_and_code" ON "general_settings" ("group", "code")[0m
|
150
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
151
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
152
|
+
[1m[35m (2.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20250312042102)[0m
|
153
|
+
[1m[35m (4.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
154
|
+
(20250312042101),
|
155
|
+
(20250312042100),
|
156
|
+
(20250220044935),
|
157
|
+
(20250218110737),
|
158
|
+
(20250104054920),
|
159
|
+
(20241116110614),
|
160
|
+
(20241115080211);[0m
|
161
|
+
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
162
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.0ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
163
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'development', '2025-03-12 04:52:55.888851', '2025-03-12 04:52:55.888853') RETURNING "key"[0m
|
164
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
165
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.0ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = 'test', "updated_at" = '2025-03-12 04:52:55.899723' WHERE "ar_internal_metadata"."key" = 'environment'[0m
|
166
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.3ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "schema_sha1"]]
|
167
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('schema_sha1', 'c39726148706e385cc11f2f13a38759323058a50', '2025-03-12 04:52:55.904126', '2025-03-12 04:52:55.904127') RETURNING "key"[0m
|
168
|
+
[1m[36mActiveRecord::SchemaMigration Load (4.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|