settingsdb-rails 1.0.5
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.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +43 -0
- data/Rakefile +40 -0
- data/lib/generators/settingsdb/USAGE +8 -0
- data/lib/generators/settingsdb/install_generator.rb +103 -0
- data/lib/generators/settingsdb/templates/initializer.rb +3 -0
- data/lib/generators/settingsdb/templates/migration.rb +18 -0
- data/lib/generators/settingsdb/templates/migration_exists.rb +10 -0
- data/lib/settingsdb-rails.rb +6 -0
- data/lib/settingsdb/acts_as_setting.rb +48 -0
- data/lib/settingsdb/defaults.rb +91 -0
- data/lib/settingsdb/generators/generated_attribute.rb +104 -0
- data/lib/settingsdb/settings.rb +121 -0
- data/lib/settingsdb/version.rb +3 -0
- data/test/acts_as_setting_test.rb +90 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +9 -0
- data/test/dummy/app/assets/stylesheets/application.css +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/config_a.rb +3 -0
- data/test/dummy/app/models/config_b.rb +3 -0
- data/test/dummy/app/models/test_setting.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +45 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/settingsdb.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20120327011030_settingsdb_create_test_settings.rb +12 -0
- data/test/dummy/db/migrate/20120327011127_settingsdb_create_config_as.rb +12 -0
- data/test/dummy/db/migrate/20120327011134_settingsdb_create_config_bs.rb +12 -0
- data/test/dummy/db/schema.rb +43 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +512 -0
- data/test/dummy/log/test.log +3749 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/config_as.yml +11 -0
- data/test/dummy/test/fixtures/config_bs.yml +11 -0
- data/test/dummy/test/fixtures/configurations.yml +11 -0
- data/test/dummy/test/fixtures/settings.yml +11 -0
- data/test/dummy/test/fixtures/test_settings.yml +11 -0
- data/test/dummy/test/unit/config_a_test.rb +7 -0
- data/test/dummy/test/unit/config_b_test.rb +7 -0
- data/test/dummy/test/unit/configuration_test.rb +7 -0
- data/test/dummy/test/unit/setting_test.rb +7 -0
- data/test/dummy/test/unit/test_setting_test.rb +7 -0
- data/test/settingsdb_defaults_test.rb +71 -0
- data/test/settingsdb_generator_test.rb +42 -0
- data/test/test_helper.rb +10 -0
- metadata +215 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Configure static asset server for tests with Cache-Control for performance
|
11
|
+
config.serve_static_assets = true
|
12
|
+
config.static_cache_control = "public, max-age=3600"
|
13
|
+
|
14
|
+
# Log error messages when you accidentally call methods on nil
|
15
|
+
config.whiny_nils = true
|
16
|
+
|
17
|
+
# Show full error reports and disable caching
|
18
|
+
config.consider_all_requests_local = true
|
19
|
+
config.action_controller.perform_caching = false
|
20
|
+
|
21
|
+
# Raise exceptions instead of rendering exception templates
|
22
|
+
config.action_dispatch.show_exceptions = false
|
23
|
+
|
24
|
+
# Disable request forgery protection in test environment
|
25
|
+
config.action_controller.allow_forgery_protection = false
|
26
|
+
|
27
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
28
|
+
# The :test delivery method accumulates sent emails in the
|
29
|
+
# ActionMailer::Base.deliveries array.
|
30
|
+
config.action_mailer.delivery_method = :test
|
31
|
+
|
32
|
+
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
33
|
+
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
34
|
+
# like if you have constraints or database-specific column types
|
35
|
+
# config.active_record.schema_format = :sql
|
36
|
+
|
37
|
+
# Print deprecation notices to the stderr
|
38
|
+
config.active_support.deprecation = :stderr
|
39
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format
|
4
|
+
# (all these examples are active by default):
|
5
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
8
|
+
# inflect.irregular 'person', 'people'
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
10
|
+
# end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
+
Dummy::Application.config.secret_token = 'c6503c15ab4d5464c22c9432e21e2f1dcd5e04512753a05563556817c54ea9c57d0e56661fb0063638a98363a6176414eeb1aa466113e994d8967f54b5552f29'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
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]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
# The priority is based upon order of creation:
|
3
|
+
# first created -> highest priority.
|
4
|
+
|
5
|
+
# Sample of regular route:
|
6
|
+
# match 'products/:id' => 'catalog#view'
|
7
|
+
# Keep in mind you can assign values other than :controller and :action
|
8
|
+
|
9
|
+
# Sample of named route:
|
10
|
+
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
11
|
+
# This route can be invoked with purchase_url(:id => product.id)
|
12
|
+
|
13
|
+
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
14
|
+
# resources :products
|
15
|
+
|
16
|
+
# Sample resource route with options:
|
17
|
+
# resources :products do
|
18
|
+
# member do
|
19
|
+
# get 'short'
|
20
|
+
# post 'toggle'
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
# collection do
|
24
|
+
# get 'sold'
|
25
|
+
# end
|
26
|
+
# end
|
27
|
+
|
28
|
+
# Sample resource route with sub-resources:
|
29
|
+
# resources :products do
|
30
|
+
# resources :comments, :sales
|
31
|
+
# resource :seller
|
32
|
+
# end
|
33
|
+
|
34
|
+
# Sample resource route with more complex sub-resources
|
35
|
+
# resources :products do
|
36
|
+
# resources :comments
|
37
|
+
# resources :sales do
|
38
|
+
# get 'recent', :on => :collection
|
39
|
+
# end
|
40
|
+
# end
|
41
|
+
|
42
|
+
# Sample resource route within a namespace:
|
43
|
+
# namespace :admin do
|
44
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
45
|
+
# # (app/controllers/admin/products_controller.rb)
|
46
|
+
# resources :products
|
47
|
+
# end
|
48
|
+
|
49
|
+
# You can have the root of your site routed with "root"
|
50
|
+
# just remember to delete public/index.html.
|
51
|
+
# root :to => 'welcome#index'
|
52
|
+
|
53
|
+
# See how all your routes lay out with "rake routes"
|
54
|
+
|
55
|
+
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
56
|
+
# Note: This route will make all actions in every controller accessible via GET requests.
|
57
|
+
# match ':controller(/:action(/:id(.:format)))'
|
58
|
+
end
|
Binary file
|
@@ -0,0 +1,12 @@
|
|
1
|
+
class SettingsdbCreateTestSettings < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :test_settings do |t|
|
4
|
+
t.string :namespace, :null => false, :default => 'default'
|
5
|
+
t.string :name, :null => false
|
6
|
+
t.text :value
|
7
|
+
end
|
8
|
+
|
9
|
+
add_index :test_settings, [:namespace, :name], :unique => true
|
10
|
+
add_index :test_settings, :name
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
class SettingsdbCreateConfigAs < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :config_as do |t|
|
4
|
+
t.string :scope, :null => false, :default => 'default'
|
5
|
+
t.string :key, :null => false
|
6
|
+
t.text :value
|
7
|
+
end
|
8
|
+
|
9
|
+
add_index :config_as, [:scope, :key], :unique => true
|
10
|
+
add_index :config_as, :key
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
class SettingsdbCreateConfigBs < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :config_bs do |t|
|
4
|
+
t.string :namespace, :null => false, :default => 'default'
|
5
|
+
t.string :name, :null => false
|
6
|
+
t.text :value
|
7
|
+
end
|
8
|
+
|
9
|
+
add_index :config_bs, [:namespace, :name], :unique => true
|
10
|
+
add_index :config_bs, :name
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,43 @@
|
|
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 to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20120327011134) do
|
15
|
+
|
16
|
+
create_table "config_as", :force => true do |t|
|
17
|
+
t.string "scope", :default => "default", :null => false
|
18
|
+
t.string "key", :null => false
|
19
|
+
t.text "value"
|
20
|
+
end
|
21
|
+
|
22
|
+
add_index "config_as", ["key"], :name => "index_config_as_on_key"
|
23
|
+
add_index "config_as", ["scope", "key"], :name => "index_config_as_on_scope_and_key", :unique => true
|
24
|
+
|
25
|
+
create_table "config_bs", :force => true do |t|
|
26
|
+
t.string "namespace", :default => "default", :null => false
|
27
|
+
t.string "name", :null => false
|
28
|
+
t.text "value"
|
29
|
+
end
|
30
|
+
|
31
|
+
add_index "config_bs", ["name"], :name => "index_config_bs_on_name"
|
32
|
+
add_index "config_bs", ["namespace", "name"], :name => "index_config_bs_on_namespace_and_name", :unique => true
|
33
|
+
|
34
|
+
create_table "test_settings", :force => true do |t|
|
35
|
+
t.string "namespace", :default => "default", :null => false
|
36
|
+
t.string "name", :null => false
|
37
|
+
t.text "value"
|
38
|
+
end
|
39
|
+
|
40
|
+
add_index "test_settings", ["name"], :name => "index_test_settings_on_name"
|
41
|
+
add_index "test_settings", ["namespace", "name"], :name => "index_test_settings_on_namespace_and_name", :unique => true
|
42
|
+
|
43
|
+
end
|
Binary file
|
@@ -0,0 +1,512 @@
|
|
1
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (84.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (8.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
7
|
+
Migrating to DbconfigCreateConfigurations (20120325201521)
|
8
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
9
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
10
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("configurations")
|
11
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_configurations_on_namespace_and_name" ON "configurations" ("namespace", "name")[0m
|
12
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("configurations")
|
13
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_namespace_and_name')[0m
|
14
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_configurations_on_name" ON "configurations" ("name")
|
15
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120325201521')[0m
|
16
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
17
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
18
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("configurations")
|
19
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_configurations_on_name')[0m
|
20
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_configurations_on_namespace_and_name')
|
21
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
22
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
23
|
+
[1m[36m (4.1ms)[0m [1mCREATE TABLE "configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
24
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("configurations")
|
25
|
+
[1m[36m (3.0ms)[0m [1mCREATE INDEX "index_configurations_on_name" ON "configurations" ("name")[0m
|
26
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("configurations")
|
27
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_name')[0m
|
28
|
+
[1m[35m (3.0ms)[0m CREATE UNIQUE INDEX "index_configurations_on_namespace_and_name" ON "configurations" ("namespace", "name")
|
29
|
+
[1m[36m (3.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
30
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
31
|
+
[1m[36m (2.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
32
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
33
|
+
[1m[36m (3.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120325201521')[0m
|
34
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
35
|
+
Migrating to DbconfigCreateConfigurations (20120325201521)
|
36
|
+
Migrating to AddColumnSettings (20120326232751)
|
37
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
38
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120326232751')[0m
|
39
|
+
Migrating to SettingsdbCreateConfigurations (20120327000631)
|
40
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text)
|
41
|
+
SQLite3::SQLException: table "configurations" already exists: CREATE TABLE "configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text)
|
42
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
43
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
44
|
+
Migrating to AddColumnSettings (20120326232751)
|
45
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
46
|
+
[1m[35m (0.4ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120326232751'
|
47
|
+
[1m[36m (0.5ms)[0m [1mselect sqlite_version(*)[0m
|
48
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
49
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("configurations")[0m
|
50
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_configurations_on_name')
|
51
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_namespace_and_name')[0m
|
52
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
53
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
54
|
+
Migrating to DbconfigCreateConfigurations (20120325201521)
|
55
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
56
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("configurations")
|
57
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_name')[0m
|
58
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_configurations_on_namespace_and_name')
|
59
|
+
[1m[36m (0.4ms)[0m [1mDROP INDEX "index_configurations_on_name"[0m
|
60
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("configurations")
|
61
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_namespace_and_name')[0m
|
62
|
+
[1m[35m (0.3ms)[0m DROP INDEX "index_configurations_on_namespace_and_name"
|
63
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "configurations"[0m
|
64
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120325201521'
|
65
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
66
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
67
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
68
|
+
Migrating to SettingsdbCreateConfigurations (20120327001203)
|
69
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
70
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "key" varchar(255) NOT NULL, "value" text) [0m
|
71
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("configurations")
|
72
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_configurations_on_namespace_and_key" ON "configurations" ("namespace", "key")[0m
|
73
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("configurations")
|
74
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_namespace_and_key')[0m
|
75
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_configurations_on_key" ON "configurations" ("key")
|
76
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120327001203')[0m
|
77
|
+
Migrating to SettingsdbCreateTestSettings (20120327005903)
|
78
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "test_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text)
|
79
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("test_settings")[0m
|
80
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_test_settings_on_namespace_and_name" ON "test_settings" ("namespace", "name")
|
81
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("test_settings")[0m
|
82
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_test_settings_on_namespace_and_name')
|
83
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_test_settings_on_name" ON "test_settings" ("name")[0m
|
84
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120327005903')
|
85
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
86
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
87
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("configurations")[0m
|
88
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_configurations_on_key')
|
89
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_namespace_and_key')[0m
|
90
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
91
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
92
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_test_settings_on_namespace_and_name')
|
93
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
94
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
95
|
+
[1m[36m (8.2ms)[0m [1mCREATE TABLE "configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "key" varchar(255) NOT NULL, "value" text) [0m
|
96
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("configurations")
|
97
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_configurations_on_key" ON "configurations" ("key")[0m
|
98
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("configurations")
|
99
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_key')[0m
|
100
|
+
[1m[35m (3.1ms)[0m CREATE UNIQUE INDEX "index_configurations_on_namespace_and_key" ON "configurations" ("namespace", "key")
|
101
|
+
[1m[36m (3.3ms)[0m [1mCREATE TABLE "test_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
102
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
103
|
+
[1m[36m (3.2ms)[0m [1mCREATE INDEX "index_test_settings_on_name" ON "test_settings" ("name")[0m
|
104
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("test_settings")
|
105
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
106
|
+
[1m[35m (3.1ms)[0m CREATE UNIQUE INDEX "index_test_settings_on_namespace_and_name" ON "test_settings" ("namespace", "name")
|
107
|
+
[1m[36m (3.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
108
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
109
|
+
[1m[36m (3.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
110
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
111
|
+
[1m[36m (4.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120327005903')[0m
|
112
|
+
[1m[35m (3.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120327001203')
|
113
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
114
|
+
Migrating to SettingsdbCreateConfigurations (20120327001203)
|
115
|
+
Migrating to SettingsdbCreateTestSettings (20120327005903)
|
116
|
+
Migrating to SettingsdbCreateSettings (20120327010335)
|
117
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
118
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
119
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("settings")
|
120
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_settings_on_namespace_and_name" ON "settings" ("namespace", "name")[0m
|
121
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("settings")
|
122
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_settings_on_namespace_and_name')[0m
|
123
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_settings_on_name" ON "settings" ("name")
|
124
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120327010335')[0m
|
125
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
126
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
127
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("configurations")
|
128
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_key')[0m
|
129
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_configurations_on_namespace_and_key')
|
130
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("settings")[0m
|
131
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_settings_on_name')
|
132
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_settings_on_namespace_and_name')[0m
|
133
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("test_settings")
|
134
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
135
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_test_settings_on_namespace_and_name')
|
136
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
137
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
138
|
+
Migrating to SettingsdbCreateSettings (20120327010335)
|
139
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
140
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("settings")
|
141
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_settings_on_name')[0m
|
142
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_settings_on_namespace_and_name')
|
143
|
+
[1m[36m (0.4ms)[0m [1mDROP INDEX "index_settings_on_name"[0m
|
144
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("settings")
|
145
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_settings_on_namespace_and_name')[0m
|
146
|
+
[1m[35m (0.3ms)[0m DROP INDEX "index_settings_on_namespace_and_name"
|
147
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "settings"[0m
|
148
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120327010335'
|
149
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
150
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
151
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("configurations")[0m
|
152
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_configurations_on_key')
|
153
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_namespace_and_key')[0m
|
154
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
155
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
156
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_test_settings_on_namespace_and_name')
|
157
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
158
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
159
|
+
Migrating to SettingsdbCreateTestSettings (20120327005903)
|
160
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
161
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("test_settings")
|
162
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
163
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_test_settings_on_namespace_and_name')
|
164
|
+
[1m[36m (0.4ms)[0m [1mDROP INDEX "index_test_settings_on_name"[0m
|
165
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
166
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_namespace_and_name')[0m
|
167
|
+
[1m[35m (0.3ms)[0m DROP INDEX "index_test_settings_on_namespace_and_name"
|
168
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "test_settings"[0m
|
169
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120327005903'
|
170
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
171
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
172
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("configurations")[0m
|
173
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_configurations_on_key')
|
174
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_namespace_and_key')[0m
|
175
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
176
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
177
|
+
Migrating to SettingsdbCreateConfigurations (20120327001203)
|
178
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
179
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("configurations")
|
180
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_key')[0m
|
181
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_configurations_on_namespace_and_key')
|
182
|
+
[1m[36m (0.4ms)[0m [1mDROP INDEX "index_configurations_on_key"[0m
|
183
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("configurations")
|
184
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_configurations_on_namespace_and_key')[0m
|
185
|
+
[1m[35m (0.3ms)[0m DROP INDEX "index_configurations_on_namespace_and_key"
|
186
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "configurations"[0m
|
187
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120327001203'
|
188
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
189
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
190
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
191
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
192
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
193
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
194
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
195
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
196
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
197
|
+
Migrating to SettingsdbCreateTestSettings (20120327011030)
|
198
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
199
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "test_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
200
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
201
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_test_settings_on_namespace_and_name" ON "test_settings" ("namespace", "name")[0m
|
202
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
203
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_namespace_and_name')[0m
|
204
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_test_settings_on_name" ON "test_settings" ("name")
|
205
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120327011030')[0m
|
206
|
+
Migrating to SettingsdbCreateConfigAs (20120327011127)
|
207
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "config_as" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text)
|
208
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("config_as")[0m
|
209
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_config_as_on_namespace_and_name" ON "config_as" ("namespace", "name")
|
210
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("config_as")[0m
|
211
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_config_as_on_namespace_and_name')
|
212
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_config_as_on_name" ON "config_as" ("name")[0m
|
213
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120327011127')
|
214
|
+
Migrating to SettingsdbCreateConfigBs (20120327011134)
|
215
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "config_bs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
216
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_bs")
|
217
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_config_bs_on_namespace_and_name" ON "config_bs" ("namespace", "name")[0m
|
218
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_bs")
|
219
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_bs_on_namespace_and_name')[0m
|
220
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_config_bs_on_name" ON "config_bs" ("name")
|
221
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120327011134')[0m
|
222
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
223
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
224
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_as")
|
225
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_as_on_name')[0m
|
226
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_config_as_on_namespace_and_name')
|
227
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("config_bs")[0m
|
228
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_config_bs_on_name')
|
229
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_bs_on_namespace_and_name')[0m
|
230
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
231
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
232
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_test_settings_on_namespace_and_name')
|
233
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
234
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
235
|
+
[1m[36m (43.3ms)[0m [1mCREATE TABLE "config_as" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
236
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_as")
|
237
|
+
[1m[36m (4.0ms)[0m [1mCREATE INDEX "index_config_as_on_name" ON "config_as" ("name")[0m
|
238
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_as")
|
239
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_as_on_name')[0m
|
240
|
+
[1m[35m (5.4ms)[0m CREATE UNIQUE INDEX "index_config_as_on_namespace_and_name" ON "config_as" ("namespace", "name")
|
241
|
+
[1m[36m (5.6ms)[0m [1mCREATE TABLE "config_bs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
242
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_bs")
|
243
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_config_bs_on_name" ON "config_bs" ("name")[0m
|
244
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_bs")
|
245
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_config_bs_on_name')[0m
|
246
|
+
[1m[35m (6.1ms)[0m CREATE UNIQUE INDEX "index_config_bs_on_namespace_and_name" ON "config_bs" ("namespace", "name")
|
247
|
+
[1m[36m (5.4ms)[0m [1mCREATE TABLE "test_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
248
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
249
|
+
[1m[36m (6.1ms)[0m [1mCREATE INDEX "index_test_settings_on_name" ON "test_settings" ("name")[0m
|
250
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
251
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
252
|
+
[1m[35m (7.0ms)[0m CREATE UNIQUE INDEX "index_test_settings_on_namespace_and_name" ON "test_settings" ("namespace", "name")
|
253
|
+
[1m[36m (5.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
254
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
255
|
+
[1m[36m (6.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
256
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
257
|
+
[1m[36m (5.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120327011134')[0m
|
258
|
+
[1m[35m (5.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120327011030')
|
259
|
+
[1m[36m (4.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120327011127')[0m
|
260
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
261
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
262
|
+
Migrating to SettingsdbCreateConfigBs (20120327011134)
|
263
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
264
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_bs")
|
265
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_bs_on_name')[0m
|
266
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_config_bs_on_namespace_and_name')
|
267
|
+
[1m[36m (0.4ms)[0m [1mDROP INDEX "index_config_bs_on_name"[0m
|
268
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_bs")
|
269
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_bs_on_namespace_and_name')[0m
|
270
|
+
[1m[35m (0.4ms)[0m DROP INDEX "index_config_bs_on_namespace_and_name"
|
271
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "config_bs"[0m
|
272
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120327011134'
|
273
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
274
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
275
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("config_as")[0m
|
276
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_config_as_on_name')
|
277
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_as_on_namespace_and_name')[0m
|
278
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
279
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
280
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_test_settings_on_namespace_and_name')
|
281
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
282
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
283
|
+
Migrating to SettingsdbCreateConfigAs (20120327011127)
|
284
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
285
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_as")
|
286
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_as_on_name')[0m
|
287
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_config_as_on_namespace_and_name')
|
288
|
+
[1m[36m (0.4ms)[0m [1mDROP INDEX "index_config_as_on_name"[0m
|
289
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_as")
|
290
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_as_on_namespace_and_name')[0m
|
291
|
+
[1m[35m (0.3ms)[0m DROP INDEX "index_config_as_on_namespace_and_name"
|
292
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "config_as"[0m
|
293
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120327011127'
|
294
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
295
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
296
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("test_settings")[0m
|
297
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_test_settings_on_name')
|
298
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_namespace_and_name')[0m
|
299
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
300
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
301
|
+
Migrating to SettingsdbCreateTestSettings (20120327011030)
|
302
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
303
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("test_settings")
|
304
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
305
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_test_settings_on_namespace_and_name')
|
306
|
+
[1m[36m (0.4ms)[0m [1mDROP INDEX "index_test_settings_on_name"[0m
|
307
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
308
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_namespace_and_name')[0m
|
309
|
+
[1m[35m (0.4ms)[0m DROP INDEX "index_test_settings_on_namespace_and_name"
|
310
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "test_settings"[0m
|
311
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120327011030'
|
312
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
313
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
314
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
315
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
316
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
317
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
318
|
+
Migrating to SettingsdbCreateTestSettings (20120327011030)
|
319
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
320
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "test_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
321
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
322
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_test_settings_on_namespace_and_name" ON "test_settings" ("namespace", "name")[0m
|
323
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
324
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_namespace_and_name')[0m
|
325
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_test_settings_on_name" ON "test_settings" ("name")
|
326
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120327011030')[0m
|
327
|
+
Migrating to SettingsdbCreateConfigAs (20120327011127)
|
328
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "config_as" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "key" varchar(255) NOT NULL, "value" text)
|
329
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("config_as")[0m
|
330
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_config_as_on_namespace_and_key" ON "config_as" ("namespace", "key")
|
331
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("config_as")[0m
|
332
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_config_as_on_namespace_and_key')
|
333
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_config_as_on_name" ON "config_as" ("name")[0m
|
334
|
+
SQLite3::SQLException: table config_as has no column named name: CREATE INDEX "index_config_as_on_name" ON "config_as" ("name")
|
335
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
336
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
337
|
+
Migrating to SettingsdbCreateTestSettings (20120327011030)
|
338
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
339
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("test_settings")
|
340
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
341
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_test_settings_on_namespace_and_name')
|
342
|
+
[1m[36m (0.4ms)[0m [1mDROP INDEX "index_test_settings_on_name"[0m
|
343
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
344
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_namespace_and_name')[0m
|
345
|
+
[1m[35m (0.3ms)[0m DROP INDEX "index_test_settings_on_namespace_and_name"
|
346
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "test_settings"[0m
|
347
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120327011030'
|
348
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
349
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
350
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
351
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
352
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
353
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
354
|
+
Migrating to SettingsdbCreateTestSettings (20120327011030)
|
355
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
356
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "test_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
357
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("test_settings")
|
358
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_test_settings_on_namespace_and_name" ON "test_settings" ("namespace", "name")[0m
|
359
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
360
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_namespace_and_name')[0m
|
361
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_test_settings_on_name" ON "test_settings" ("name")
|
362
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120327011030')[0m
|
363
|
+
Migrating to SettingsdbCreateConfigAs (20120327011127)
|
364
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "config_as" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "key" varchar(255) NOT NULL, "value" text)
|
365
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("config_as")[0m
|
366
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_config_as_on_namespace_and_key" ON "config_as" ("namespace", "key")
|
367
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("config_as")[0m
|
368
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_config_as_on_namespace_and_key')
|
369
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_config_as_on_key" ON "config_as" ("key")[0m
|
370
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120327011127')
|
371
|
+
Migrating to SettingsdbCreateConfigBs (20120327011134)
|
372
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "config_bs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
373
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_bs")
|
374
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_config_bs_on_namespace_and_name" ON "config_bs" ("namespace", "name")[0m
|
375
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_bs")
|
376
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_bs_on_namespace_and_name')[0m
|
377
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_config_bs_on_name" ON "config_bs" ("name")
|
378
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120327011134')[0m
|
379
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
380
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
381
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_as")
|
382
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_as_on_key')[0m
|
383
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_config_as_on_namespace_and_key')
|
384
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("config_bs")[0m
|
385
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_config_bs_on_name')
|
386
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_bs_on_namespace_and_name')[0m
|
387
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
388
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
389
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_test_settings_on_namespace_and_name')
|
390
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
391
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
392
|
+
[1m[36m (56.9ms)[0m [1mCREATE TABLE "config_as" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "key" varchar(255) NOT NULL, "value" text) [0m
|
393
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_as")
|
394
|
+
[1m[36m (3.3ms)[0m [1mCREATE INDEX "index_config_as_on_key" ON "config_as" ("key")[0m
|
395
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_as")
|
396
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_as_on_key')[0m
|
397
|
+
[1m[35m (4.1ms)[0m CREATE UNIQUE INDEX "index_config_as_on_namespace_and_key" ON "config_as" ("namespace", "key")
|
398
|
+
[1m[36m (3.8ms)[0m [1mCREATE TABLE "config_bs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
399
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_bs")
|
400
|
+
[1m[36m (4.0ms)[0m [1mCREATE INDEX "index_config_bs_on_name" ON "config_bs" ("name")[0m
|
401
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_bs")
|
402
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_bs_on_name')[0m
|
403
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_config_bs_on_namespace_and_name" ON "config_bs" ("namespace", "name")
|
404
|
+
[1m[36m (4.2ms)[0m [1mCREATE TABLE "test_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
405
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
406
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_test_settings_on_name" ON "test_settings" ("name")[0m
|
407
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
408
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
409
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_test_settings_on_namespace_and_name" ON "test_settings" ("namespace", "name")
|
410
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
411
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
412
|
+
[1m[36m (4.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
413
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
414
|
+
[1m[36m (5.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120327011134')[0m
|
415
|
+
[1m[35m (4.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120327011030')
|
416
|
+
[1m[36m (5.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120327011127')[0m
|
417
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
418
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
419
|
+
[1m[36m (41.8ms)[0m [1mCREATE TABLE "config_as" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "key" varchar(255) NOT NULL, "value" text) [0m
|
420
|
+
[1m[35m (0.5ms)[0m PRAGMA index_list("config_as")
|
421
|
+
[1m[36m (3.3ms)[0m [1mCREATE INDEX "index_config_as_on_key" ON "config_as" ("key")[0m
|
422
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_as")
|
423
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_as_on_key')[0m
|
424
|
+
[1m[35m (3.1ms)[0m CREATE UNIQUE INDEX "index_config_as_on_namespace_and_key" ON "config_as" ("namespace", "key")
|
425
|
+
[1m[36m (4.3ms)[0m [1mCREATE TABLE "config_bs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
426
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_bs")
|
427
|
+
[1m[36m (3.6ms)[0m [1mCREATE INDEX "index_config_bs_on_name" ON "config_bs" ("name")[0m
|
428
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_bs")
|
429
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_bs_on_name')[0m
|
430
|
+
[1m[35m (4.3ms)[0m CREATE UNIQUE INDEX "index_config_bs_on_namespace_and_name" ON "config_bs" ("namespace", "name")
|
431
|
+
[1m[36m (5.5ms)[0m [1mCREATE TABLE "test_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
432
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
433
|
+
[1m[36m (3.8ms)[0m [1mCREATE INDEX "index_test_settings_on_name" ON "test_settings" ("name")[0m
|
434
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
435
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
436
|
+
[1m[35m (5.3ms)[0m CREATE UNIQUE INDEX "index_test_settings_on_namespace_and_name" ON "test_settings" ("namespace", "name")
|
437
|
+
[1m[36m (4.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
438
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
439
|
+
[1m[36m (3.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
440
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
441
|
+
[1m[36m (4.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120327011134')[0m
|
442
|
+
[1m[35m (5.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120327011030')
|
443
|
+
[1m[36m (3.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120327011127')[0m
|
444
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
445
|
+
[1m[35m (289.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
446
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
447
|
+
[1m[35m (4.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
448
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
449
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
450
|
+
Migrating to SettingsdbCreateTestSettings (20120327011030)
|
451
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
452
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "test_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
453
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("test_settings")
|
454
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_test_settings_on_namespace_and_name" ON "test_settings" ("namespace", "name")[0m
|
455
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("test_settings")
|
456
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_namespace_and_name')[0m
|
457
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_test_settings_on_name" ON "test_settings" ("name")
|
458
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120327011030')[0m
|
459
|
+
Migrating to SettingsdbCreateConfigAs (20120327011127)
|
460
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "config_as" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "scope" varchar(255) DEFAULT 'default' NOT NULL, "key" varchar(255) NOT NULL, "value" text)
|
461
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("config_as")[0m
|
462
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_config_as_on_scope_and_key" ON "config_as" ("scope", "key")
|
463
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("config_as")[0m
|
464
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_config_as_on_scope_and_key')
|
465
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_config_as_on_key" ON "config_as" ("key")[0m
|
466
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120327011127')
|
467
|
+
Migrating to SettingsdbCreateConfigBs (20120327011134)
|
468
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "config_bs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
469
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_bs")
|
470
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_config_bs_on_namespace_and_name" ON "config_bs" ("namespace", "name")[0m
|
471
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_bs")
|
472
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_bs_on_namespace_and_name')[0m
|
473
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_config_bs_on_name" ON "config_bs" ("name")
|
474
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120327011134')[0m
|
475
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
476
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
477
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_as")
|
478
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_as_on_key')[0m
|
479
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_config_as_on_scope_and_key')
|
480
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("config_bs")[0m
|
481
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_config_bs_on_name')
|
482
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_bs_on_namespace_and_name')[0m
|
483
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
484
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
485
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_test_settings_on_namespace_and_name')
|
486
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
487
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
488
|
+
[1m[36m (46.4ms)[0m [1mCREATE TABLE "config_as" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "scope" varchar(255) DEFAULT 'default' NOT NULL, "key" varchar(255) NOT NULL, "value" text) [0m
|
489
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("config_as")
|
490
|
+
[1m[36m (3.6ms)[0m [1mCREATE INDEX "index_config_as_on_key" ON "config_as" ("key")[0m
|
491
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_as")
|
492
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_as_on_key')[0m
|
493
|
+
[1m[35m (4.7ms)[0m CREATE UNIQUE INDEX "index_config_as_on_scope_and_key" ON "config_as" ("scope", "key")
|
494
|
+
[1m[36m (4.0ms)[0m [1mCREATE TABLE "config_bs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
495
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_bs")
|
496
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_config_bs_on_name" ON "config_bs" ("name")[0m
|
497
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("config_bs")
|
498
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_config_bs_on_name')[0m
|
499
|
+
[1m[35m (4.0ms)[0m CREATE UNIQUE INDEX "index_config_bs_on_namespace_and_name" ON "config_bs" ("namespace", "name")
|
500
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "test_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255) DEFAULT 'default' NOT NULL, "name" varchar(255) NOT NULL, "value" text) [0m
|
501
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
502
|
+
[1m[36m (5.1ms)[0m [1mCREATE INDEX "index_test_settings_on_name" ON "test_settings" ("name")[0m
|
503
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("test_settings")
|
504
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_test_settings_on_name')[0m
|
505
|
+
[1m[35m (6.1ms)[0m CREATE UNIQUE INDEX "index_test_settings_on_namespace_and_name" ON "test_settings" ("namespace", "name")
|
506
|
+
[1m[36m (4.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
507
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
508
|
+
[1m[36m (5.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
509
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
510
|
+
[1m[36m (5.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120327011134')[0m
|
511
|
+
[1m[35m (4.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120327011030')
|
512
|
+
[1m[36m (5.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120327011127')[0m
|