web-connect-rails 0.2.0.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/netfira/web_connect/rails/mock_request.rb +84 -0
- data/lib/netfira/web_connect/rails/version.rb +1 -1
- data/lib/web-connect-rails.rb +1 -0
- metadata +7 -158
- data/spec/dummy/Gemfile +0 -7
- data/spec/dummy/Gemfile.lock +0 -140
- data/spec/dummy/README.rdoc +0 -28
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/javascripts/application.js +0 -13
- data/spec/dummy/app/assets/stylesheets/application.css +0 -15
- data/spec/dummy/app/controllers/application_controller.rb +0 -5
- data/spec/dummy/app/controllers/info_controller.rb +0 -2
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/views/info/view.html +0 -1
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/config/application.rb +0 -28
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/database.yml +0 -30
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -37
- data/spec/dummy/config/environments/production.rb +0 -83
- data/spec/dummy/config/environments/test.rb +0 -39
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/initializers/web_connect.rb +0 -45
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -23
- data/spec/dummy/config/routes.rb +0 -62
- data/spec/dummy/config/secrets.yml +0 -22
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +0 -236
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/db/wc_test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -129
- data/spec/dummy/log/test.log +0 -588
- data/spec/dummy/public/404.html +0 -67
- data/spec/dummy/public/422.html +0 -67
- data/spec/dummy/public/500.html +0 -66
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/30fcdba934c852043bf90977fbe7cd41 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/563c7c80a43c918ab182fbb055ca0d09 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/595588477bd1d6985164b36ebf27d467 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7fe8ec92b30b7e2f688c3a91157c5eb3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/features/passthru_spec.rb +0 -14
- data/spec/spec_helper.rb +0 -28
@@ -1,14 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
-
# is enabled by default.
|
5
|
-
|
6
|
-
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
-
ActiveSupport.on_load(:action_controller) do
|
8
|
-
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
-
end
|
10
|
-
|
11
|
-
# To enable root element in JSON for ActiveRecord objects.
|
12
|
-
# ActiveSupport.on_load(:active_record) do
|
13
|
-
# self.include_root_in_json = true
|
14
|
-
# end
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# Files in the config/locales directory are used for internationalization
|
2
|
-
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
-
# than 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, please read the Rails Internationalization guide
|
20
|
-
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
-
|
22
|
-
en:
|
23
|
-
hello: "Hello world"
|
data/spec/dummy/config/routes.rb
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
Rails.application.routes.draw do
|
2
|
-
# The priority is based upon order of creation: first created -> highest priority.
|
3
|
-
# See how all your routes lay out with "rake routes".
|
4
|
-
|
5
|
-
# This route should work:
|
6
|
-
get 'info' => 'info#view'
|
7
|
-
|
8
|
-
# This route should be masked by WebConnect:
|
9
|
-
get 'webconnect/info' => 'info#view'
|
10
|
-
|
11
|
-
# You can have the root of your site routed with "root"
|
12
|
-
# root 'welcome#index'
|
13
|
-
|
14
|
-
# Example of regular route:
|
15
|
-
# get 'products/:id' => 'catalog#view'
|
16
|
-
|
17
|
-
# Example of named route that can be invoked with purchase_url(id: product.id)
|
18
|
-
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
19
|
-
|
20
|
-
# Example resource route (maps HTTP verbs to controller actions automatically):
|
21
|
-
# resources :products
|
22
|
-
|
23
|
-
# Example resource route with options:
|
24
|
-
# resources :products do
|
25
|
-
# member do
|
26
|
-
# get 'short'
|
27
|
-
# post 'toggle'
|
28
|
-
# end
|
29
|
-
#
|
30
|
-
# collection do
|
31
|
-
# get 'sold'
|
32
|
-
# end
|
33
|
-
# end
|
34
|
-
|
35
|
-
# Example resource route with sub-resources:
|
36
|
-
# resources :products do
|
37
|
-
# resources :comments, :sales
|
38
|
-
# resource :seller
|
39
|
-
# end
|
40
|
-
|
41
|
-
# Example resource route with more complex sub-resources:
|
42
|
-
# resources :products do
|
43
|
-
# resources :comments
|
44
|
-
# resources :sales do
|
45
|
-
# get 'recent', on: :collection
|
46
|
-
# end
|
47
|
-
# end
|
48
|
-
|
49
|
-
# Example resource route with concerns:
|
50
|
-
# concern :toggleable do
|
51
|
-
# post 'toggle'
|
52
|
-
# end
|
53
|
-
# resources :posts, concerns: :toggleable
|
54
|
-
# resources :photos, concerns: :toggleable
|
55
|
-
|
56
|
-
# Example resource route within a namespace:
|
57
|
-
# namespace :admin do
|
58
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
59
|
-
# # (app/controllers/admin/products_controller.rb)
|
60
|
-
# resources :products
|
61
|
-
# end
|
62
|
-
end
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
-
# If you change this key, all old signed cookies will become invalid!
|
5
|
-
|
6
|
-
# Make sure the secret is at least 30 characters and all random,
|
7
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
-
# You can use `rake secret` to generate a secure secret key.
|
9
|
-
|
10
|
-
# Make sure the secrets in this file are kept private
|
11
|
-
# if you're sharing your code publicly.
|
12
|
-
|
13
|
-
development:
|
14
|
-
secret_key_base: ad29762948a11c22ddb1939462106c57bd81426ef4f7fc1e67d29e54d1fc6a96e2ff0101981a6776d427f9b51a72c1af980cf6351f3fd996c172b6d0f43085a1
|
15
|
-
|
16
|
-
test:
|
17
|
-
secret_key_base: 8a472d8ba12b5d7443dbd5e0e8ab719a3c6c6662f3d61ec6d42f4487969478034d0b951a8ff81f5dd0396cdc023870bd95bd2e436fa2d14993cfecb7b6b0d35e
|
18
|
-
|
19
|
-
# Do not keep production secrets in the repository,
|
20
|
-
# instead read values from the environment.
|
21
|
-
production:
|
22
|
-
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
Binary file
|
data/spec/dummy/db/schema.rb
DELETED
@@ -1,236 +0,0 @@
|
|
1
|
-
# encoding: UTF-8
|
2
|
-
# This file is auto-generated from the current state of the database. Instead
|
3
|
-
# of editing this file, please use the migrations feature of Active Record to
|
4
|
-
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
-
#
|
6
|
-
# Note that this schema.rb definition is the authoritative source for your
|
7
|
-
# database schema. If you need to create the application database on another
|
8
|
-
# system, you should be using db:schema:load, not running all the migrations
|
9
|
-
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
-
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
-
#
|
12
|
-
# It's strongly recommended that you check this file into your version control system.
|
13
|
-
|
14
|
-
ActiveRecord::Schema.define(version: 20140515) do
|
15
|
-
|
16
|
-
create_table "wc__custom_fields", force: true do |t|
|
17
|
-
t.integer "shop_id"
|
18
|
-
t.integer "table_id"
|
19
|
-
t.integer "record_id"
|
20
|
-
t.string "key"
|
21
|
-
t.binary "value", limit: 65536
|
22
|
-
end
|
23
|
-
|
24
|
-
create_table "wc__settings", force: true do |t|
|
25
|
-
t.integer "shop_id"
|
26
|
-
t.string "key"
|
27
|
-
t.binary "value", limit: 65536
|
28
|
-
t.string "content_type"
|
29
|
-
end
|
30
|
-
|
31
|
-
create_table "wc__shops", force: true do |t|
|
32
|
-
t.string "name"
|
33
|
-
end
|
34
|
-
|
35
|
-
add_index "wc__shops", ["name"], name: "index_wc__shops_on_name", unique: true
|
36
|
-
|
37
|
-
create_table "wc__tables", force: true do |t|
|
38
|
-
t.string "name", limit: 50
|
39
|
-
t.string "origin_key", limit: 20
|
40
|
-
t.boolean "file"
|
41
|
-
t.boolean "writable"
|
42
|
-
t.boolean "sendable"
|
43
|
-
end
|
44
|
-
|
45
|
-
create_table "wc_attachments", force: true do |t|
|
46
|
-
t.integer "shop_id"
|
47
|
-
t.string "file_name"
|
48
|
-
t.string "locale"
|
49
|
-
t.binary "checksum", limit: 16
|
50
|
-
t.binary "digest", limit: 16
|
51
|
-
t.datetime "created_at"
|
52
|
-
t.datetime "updated_at"
|
53
|
-
end
|
54
|
-
|
55
|
-
create_table "wc_attachments_to_products", force: true do |t|
|
56
|
-
t.integer "attachment_id"
|
57
|
-
t.integer "product_id"
|
58
|
-
end
|
59
|
-
|
60
|
-
add_index "wc_attachments_to_products", ["attachment_id"], name: "index_wc_attachments_to_products_on_attachment_id"
|
61
|
-
add_index "wc_attachments_to_products", ["product_id"], name: "index_wc_attachments_to_products_on_product_id"
|
62
|
-
|
63
|
-
create_table "wc_buyers", force: true do |t|
|
64
|
-
t.string "nf_code"
|
65
|
-
t.string "name"
|
66
|
-
t.string "contact"
|
67
|
-
t.string "email", limit: 100
|
68
|
-
t.string "phone", limit: 30
|
69
|
-
t.string "fax", limit: 30
|
70
|
-
t.string "billing_address_1", limit: 150
|
71
|
-
t.string "billing_address_2", limit: 150
|
72
|
-
t.string "billing_city", limit: 150
|
73
|
-
t.string "billing_state", limit: 150
|
74
|
-
t.string "billing_country", limit: 2
|
75
|
-
t.string "billing_post_code", limit: 20
|
76
|
-
t.string "shipping_address_1", limit: 150
|
77
|
-
t.string "shipping_address_2", limit: 150
|
78
|
-
t.string "shipping_city", limit: 150
|
79
|
-
t.string "shipping_state", limit: 150
|
80
|
-
t.string "shipping_country", limit: 2
|
81
|
-
t.string "shipping_post_code", limit: 20
|
82
|
-
t.binary "pin", limit: 255
|
83
|
-
t.boolean "website_access"
|
84
|
-
t.boolean "allow_products"
|
85
|
-
t.boolean "restrict_products"
|
86
|
-
t.integer "shop_id"
|
87
|
-
t.binary "digest", limit: 16
|
88
|
-
t.datetime "created_at"
|
89
|
-
t.datetime "updated_at"
|
90
|
-
end
|
91
|
-
|
92
|
-
create_table "wc_buyers_to_products", force: true do |t|
|
93
|
-
t.integer "buyer_id"
|
94
|
-
t.integer "product_id"
|
95
|
-
end
|
96
|
-
|
97
|
-
add_index "wc_buyers_to_products", ["buyer_id"], name: "index_wc_buyers_to_products_on_buyer_id"
|
98
|
-
add_index "wc_buyers_to_products", ["product_id"], name: "index_wc_buyers_to_products_on_product_id"
|
99
|
-
|
100
|
-
create_table "wc_categories", force: true do |t|
|
101
|
-
t.string "category_id"
|
102
|
-
t.integer "parent_id"
|
103
|
-
t.integer "shop_id"
|
104
|
-
t.binary "digest", limit: 16
|
105
|
-
t.datetime "created_at"
|
106
|
-
t.datetime "updated_at"
|
107
|
-
end
|
108
|
-
|
109
|
-
create_table "wc_categories_l10n", force: true do |t|
|
110
|
-
t.integer "category_id"
|
111
|
-
t.string "language", limit: 20
|
112
|
-
t.string "name"
|
113
|
-
end
|
114
|
-
|
115
|
-
add_index "wc_categories_l10n", ["category_id"], name: "index_wc_categories_l10n_on_category_id"
|
116
|
-
|
117
|
-
create_table "wc_categories_to_products", force: true do |t|
|
118
|
-
t.integer "category_id"
|
119
|
-
t.integer "product_id"
|
120
|
-
end
|
121
|
-
|
122
|
-
add_index "wc_categories_to_products", ["category_id"], name: "index_wc_categories_to_products_on_category_id"
|
123
|
-
add_index "wc_categories_to_products", ["product_id"], name: "index_wc_categories_to_products_on_product_id"
|
124
|
-
|
125
|
-
create_table "wc_images", force: true do |t|
|
126
|
-
t.integer "shop_id"
|
127
|
-
t.string "file_name"
|
128
|
-
t.string "locale"
|
129
|
-
t.float "focus_point_top"
|
130
|
-
t.float "focus_point_left"
|
131
|
-
t.integer "size"
|
132
|
-
t.integer "width"
|
133
|
-
t.integer "height"
|
134
|
-
t.binary "checksum", limit: 16
|
135
|
-
t.binary "digest", limit: 16
|
136
|
-
t.datetime "created_at"
|
137
|
-
t.datetime "updated_at"
|
138
|
-
end
|
139
|
-
|
140
|
-
create_table "wc_images_to_products", force: true do |t|
|
141
|
-
t.integer "image_id"
|
142
|
-
t.integer "product_id"
|
143
|
-
end
|
144
|
-
|
145
|
-
add_index "wc_images_to_products", ["image_id"], name: "index_wc_images_to_products_on_image_id"
|
146
|
-
add_index "wc_images_to_products", ["product_id"], name: "index_wc_images_to_products_on_product_id"
|
147
|
-
|
148
|
-
create_table "wc_order_lines", force: true do |t|
|
149
|
-
t.string "product_id"
|
150
|
-
t.decimal "unit_price", precision: 12, scale: 4
|
151
|
-
t.decimal "unit_tax", precision: 12, scale: 4
|
152
|
-
t.string "part"
|
153
|
-
t.string "description"
|
154
|
-
t.integer "order_id"
|
155
|
-
t.decimal "quantity", precision: 12, scale: 4
|
156
|
-
t.string "comment", limit: 65536
|
157
|
-
t.integer "shop_id"
|
158
|
-
t.binary "digest", limit: 16
|
159
|
-
t.datetime "created_at"
|
160
|
-
t.datetime "updated_at"
|
161
|
-
end
|
162
|
-
|
163
|
-
create_table "wc_orders", force: true do |t|
|
164
|
-
t.string "nf_code"
|
165
|
-
t.string "name"
|
166
|
-
t.string "contact"
|
167
|
-
t.string "email", limit: 100
|
168
|
-
t.string "phone", limit: 30
|
169
|
-
t.string "fax", limit: 30
|
170
|
-
t.string "billing_address_1", limit: 150
|
171
|
-
t.string "billing_address_2", limit: 150
|
172
|
-
t.string "billing_city", limit: 150
|
173
|
-
t.string "billing_state", limit: 150
|
174
|
-
t.string "billing_country", limit: 2
|
175
|
-
t.string "billing_post_code", limit: 20
|
176
|
-
t.string "shipping_address_1", limit: 150
|
177
|
-
t.string "shipping_address_2", limit: 150
|
178
|
-
t.string "shipping_city", limit: 150
|
179
|
-
t.string "shipping_state", limit: 150
|
180
|
-
t.string "shipping_country", limit: 2
|
181
|
-
t.string "shipping_post_code", limit: 20
|
182
|
-
t.string "buyer_reference"
|
183
|
-
t.string "currency_code", limit: 3
|
184
|
-
t.string "shipping_method"
|
185
|
-
t.decimal "shipping_price", precision: 12, scale: 4
|
186
|
-
t.decimal "shipping_tax", precision: 12, scale: 4
|
187
|
-
t.string "shipping_account"
|
188
|
-
t.string "shipping_password"
|
189
|
-
t.string "payment_method"
|
190
|
-
t.boolean "payment_received"
|
191
|
-
t.string "payment_reference"
|
192
|
-
t.string "payment_error_code", limit: 16
|
193
|
-
t.string "comment", limit: 65536
|
194
|
-
t.integer "shop_id"
|
195
|
-
t.binary "guid"
|
196
|
-
t.integer "delivery_status", limit: 3, default: 0
|
197
|
-
t.binary "digest", limit: 16
|
198
|
-
t.datetime "created_at"
|
199
|
-
t.datetime "updated_at"
|
200
|
-
end
|
201
|
-
|
202
|
-
create_table "wc_products", force: true do |t|
|
203
|
-
t.string "product_id"
|
204
|
-
t.decimal "unit_price", precision: 12, scale: 4
|
205
|
-
t.decimal "unit_tax", precision: 12, scale: 4
|
206
|
-
t.decimal "stock", precision: 12, scale: 4
|
207
|
-
t.string "stock_text"
|
208
|
-
t.integer "length"
|
209
|
-
t.integer "height"
|
210
|
-
t.integer "width"
|
211
|
-
t.decimal "weight", precision: 14, scale: 3
|
212
|
-
t.boolean "show_on_website"
|
213
|
-
t.integer "shop_id"
|
214
|
-
t.binary "digest", limit: 16
|
215
|
-
t.datetime "created_at"
|
216
|
-
t.datetime "updated_at"
|
217
|
-
end
|
218
|
-
|
219
|
-
create_table "wc_products_l10n", force: true do |t|
|
220
|
-
t.integer "product_id"
|
221
|
-
t.string "language", limit: 20
|
222
|
-
t.string "part"
|
223
|
-
t.string "description"
|
224
|
-
t.string "category"
|
225
|
-
t.string "long_description", limit: 65536
|
226
|
-
end
|
227
|
-
|
228
|
-
add_index "wc_products_l10n", ["product_id"], name: "index_wc_products_l10n_on_product_id"
|
229
|
-
|
230
|
-
create_table "wc_schema_migrations", id: false, force: true do |t|
|
231
|
-
t.string "version", null: false
|
232
|
-
end
|
233
|
-
|
234
|
-
add_index "wc_schema_migrations", ["version"], name: "unique_wc_schema_migrations", unique: true
|
235
|
-
|
236
|
-
end
|
data/spec/dummy/db/test.sqlite3
DELETED
Binary file
|
Binary file
|
@@ -1,129 +0,0 @@
|
|
1
|
-
[1m[36m (9.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
5
|
-
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
6
|
-
[1m[36m (8.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
7
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
8
|
-
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
10
|
-
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
11
|
-
[1m[36m (8.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
13
|
-
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
14
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
15
|
-
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
16
|
-
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
17
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
18
|
-
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
19
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
20
|
-
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
21
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
22
|
-
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
23
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
24
|
-
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
25
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "wc_schema_migrations".* FROM "wc_schema_migrations"[0m
|
27
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "wc_schema_migrations".* FROM "wc_schema_migrations"
|
28
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "wc_schema_migrations".* FROM "wc_schema_migrations"[0m
|
29
|
-
[1m[35mNetfira::WebConnect::Models::Table Load (0.1ms)[0m SELECT "wc__tables".* FROM "wc__tables"
|
30
|
-
[1m[36m (8.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
31
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
32
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
33
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "wc_schema_migrations".* FROM "wc_schema_migrations"
|
34
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
35
|
-
FROM sqlite_master
|
36
|
-
WHERE name='index_wc__shops_on_name' AND type='index'
|
37
|
-
UNION ALL
|
38
|
-
SELECT sql
|
39
|
-
FROM sqlite_temp_master
|
40
|
-
WHERE name='index_wc__shops_on_name' AND type='index'
|
41
|
-
[0m
|
42
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
43
|
-
FROM sqlite_master
|
44
|
-
WHERE name='index_wc_attachments_to_products_on_product_id' AND type='index'
|
45
|
-
UNION ALL
|
46
|
-
SELECT sql
|
47
|
-
FROM sqlite_temp_master
|
48
|
-
WHERE name='index_wc_attachments_to_products_on_product_id' AND type='index'
|
49
|
-
|
50
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
51
|
-
FROM sqlite_master
|
52
|
-
WHERE name='index_wc_attachments_to_products_on_attachment_id' AND type='index'
|
53
|
-
UNION ALL
|
54
|
-
SELECT sql
|
55
|
-
FROM sqlite_temp_master
|
56
|
-
WHERE name='index_wc_attachments_to_products_on_attachment_id' AND type='index'
|
57
|
-
[0m
|
58
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
59
|
-
FROM sqlite_master
|
60
|
-
WHERE name='index_wc_buyers_to_products_on_product_id' AND type='index'
|
61
|
-
UNION ALL
|
62
|
-
SELECT sql
|
63
|
-
FROM sqlite_temp_master
|
64
|
-
WHERE name='index_wc_buyers_to_products_on_product_id' AND type='index'
|
65
|
-
|
66
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
67
|
-
FROM sqlite_master
|
68
|
-
WHERE name='index_wc_buyers_to_products_on_buyer_id' AND type='index'
|
69
|
-
UNION ALL
|
70
|
-
SELECT sql
|
71
|
-
FROM sqlite_temp_master
|
72
|
-
WHERE name='index_wc_buyers_to_products_on_buyer_id' AND type='index'
|
73
|
-
[0m
|
74
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
75
|
-
FROM sqlite_master
|
76
|
-
WHERE name='index_wc_categories_l10n_on_category_id' AND type='index'
|
77
|
-
UNION ALL
|
78
|
-
SELECT sql
|
79
|
-
FROM sqlite_temp_master
|
80
|
-
WHERE name='index_wc_categories_l10n_on_category_id' AND type='index'
|
81
|
-
|
82
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
83
|
-
FROM sqlite_master
|
84
|
-
WHERE name='index_wc_categories_to_products_on_product_id' AND type='index'
|
85
|
-
UNION ALL
|
86
|
-
SELECT sql
|
87
|
-
FROM sqlite_temp_master
|
88
|
-
WHERE name='index_wc_categories_to_products_on_product_id' AND type='index'
|
89
|
-
[0m
|
90
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
91
|
-
FROM sqlite_master
|
92
|
-
WHERE name='index_wc_categories_to_products_on_category_id' AND type='index'
|
93
|
-
UNION ALL
|
94
|
-
SELECT sql
|
95
|
-
FROM sqlite_temp_master
|
96
|
-
WHERE name='index_wc_categories_to_products_on_category_id' AND type='index'
|
97
|
-
|
98
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
99
|
-
FROM sqlite_master
|
100
|
-
WHERE name='index_wc_images_to_products_on_product_id' AND type='index'
|
101
|
-
UNION ALL
|
102
|
-
SELECT sql
|
103
|
-
FROM sqlite_temp_master
|
104
|
-
WHERE name='index_wc_images_to_products_on_product_id' AND type='index'
|
105
|
-
[0m
|
106
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
107
|
-
FROM sqlite_master
|
108
|
-
WHERE name='index_wc_images_to_products_on_image_id' AND type='index'
|
109
|
-
UNION ALL
|
110
|
-
SELECT sql
|
111
|
-
FROM sqlite_temp_master
|
112
|
-
WHERE name='index_wc_images_to_products_on_image_id' AND type='index'
|
113
|
-
|
114
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
115
|
-
FROM sqlite_master
|
116
|
-
WHERE name='index_wc_products_l10n_on_product_id' AND type='index'
|
117
|
-
UNION ALL
|
118
|
-
SELECT sql
|
119
|
-
FROM sqlite_temp_master
|
120
|
-
WHERE name='index_wc_products_l10n_on_product_id' AND type='index'
|
121
|
-
[0m
|
122
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
123
|
-
FROM sqlite_master
|
124
|
-
WHERE name='unique_wc_schema_migrations' AND type='index'
|
125
|
-
UNION ALL
|
126
|
-
SELECT sql
|
127
|
-
FROM sqlite_temp_master
|
128
|
-
WHERE name='unique_wc_schema_migrations' AND type='index'
|
129
|
-
|