data_fabric 1.2.7 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +7 -0
- data/README.rdoc +9 -8
- data/Rakefile +9 -41
- data/TESTING.rdoc +3 -3
- data/example23/Rakefile +28 -27
- data/example23/config/environment.rb +4 -2
- data/example30/Gemfile +5 -0
- data/example30/Gemfile.lock +79 -0
- data/example30/README +256 -0
- data/example30/Rakefile +52 -0
- data/{example → example30}/app/controllers/accounts_controller.rb +0 -0
- data/{example/app/controllers/application.rb → example30/app/controllers/application_controller.rb} +0 -0
- data/{example → example30}/app/controllers/figments_controller.rb +0 -0
- data/example30/app/helpers/application_helper.rb +2 -0
- data/{example → example30}/app/models/account.rb +0 -0
- data/{example → example30}/app/models/figment.rb +0 -0
- data/{example → example30}/app/views/accounts/index.html.erb +2 -2
- data/{example → example30}/app/views/layouts/application.html.erb +0 -0
- data/example30/config.ru +4 -0
- data/example30/config/application.rb +42 -0
- data/example30/config/boot.rb +13 -0
- data/{example → example30}/config/database.yml +0 -0
- data/example30/config/environment.rb +5 -0
- data/example30/config/environments/development.rb +26 -0
- data/example30/config/environments/production.rb +49 -0
- data/example30/config/environments/test.rb +35 -0
- data/example30/config/initializers/backtrace_silencers.rb +7 -0
- data/{example → example30}/config/initializers/inflections.rb +2 -2
- data/{example → example30}/config/initializers/mime_types.rb +0 -0
- data/example30/config/initializers/secret_token.rb +7 -0
- data/example30/config/initializers/session_store.rb +8 -0
- data/example30/config/locales/en.yml +5 -0
- data/example30/config/routes.rb +65 -0
- data/example30/db/development.sqlite3 +0 -0
- data/{example → example30}/db/migrate/20080702154628_create_accounts.rb +0 -0
- data/{example → example30}/db/migrate/20080702154820_create_figments.rb +0 -0
- data/example30/db/s0_development.sqlite3 +0 -0
- data/example30/db/s0_test.sqlite3 +0 -0
- data/example30/db/s1_development.sqlite3 +0 -0
- data/example30/db/s1_test.sqlite3 +0 -0
- data/{example23 → example30}/db/schema.rb +7 -6
- data/example30/db/seeds.rb +7 -0
- data/example30/db/test.sqlite3 +0 -0
- data/example30/log/development.log +132 -0
- data/example30/log/test.log +444 -0
- data/example30/script/rails +6 -0
- data/{example → example30}/test/fixtures/accounts.yml +0 -0
- data/{example → example30}/test/functional/accounts_controller_test.rb +0 -0
- data/{example → example30}/test/integration/account_figments_test.rb +0 -0
- data/example30/test/performance/browsing_test.rb +9 -0
- data/example30/test/test_helper.rb +13 -0
- data/lib/data_fabric.rb +14 -21
- data/lib/data_fabric/{ar22.rb → connection_proxy.rb} +43 -63
- data/lib/data_fabric/extensions.rb +29 -0
- data/lib/data_fabric/version.rb +1 -1
- data/test/connection_test.rb +17 -12
- data/test/database_test.rb +3 -11
- data/test/test_helper.rb +3 -8
- data/test/thread_test.rb +0 -14
- data/test/vr_austin_master.db +0 -0
- data/test/vr_austin_slave.db +0 -0
- data/test/vr_dallas_master.db +0 -0
- data/test/vr_dallas_slave.db +0 -0
- metadata +72 -99
- data/example/Rakefile +0 -58
- data/example/app/helpers/accounts_helper.rb +0 -2
- data/example/app/helpers/application_helper.rb +0 -3
- data/example/app/helpers/figments_helper.rb +0 -2
- data/example/config/boot.rb +0 -109
- data/example/config/environment.rb +0 -67
- data/example/config/environments/development.rb +0 -17
- data/example/config/environments/production.rb +0 -22
- data/example/config/environments/test.rb +0 -22
- data/example/config/initializers/new_rails_defaults.rb +0 -15
- data/example/config/routes.rb +0 -45
- data/example/db/schema.rb +0 -28
- data/example/public/404.html +0 -30
- data/example/public/422.html +0 -30
- data/example/public/500.html +0 -30
- data/example/public/dispatch.cgi +0 -10
- data/example/public/dispatch.fcgi +0 -24
- data/example/public/dispatch.rb +0 -10
- data/example/public/favicon.ico +0 -0
- data/example/public/images/rails.png +0 -0
- data/example/public/robots.txt +0 -5
- data/example/script/about +0 -3
- data/example/script/console +0 -3
- data/example/script/dbconsole +0 -3
- data/example/script/destroy +0 -3
- data/example/script/generate +0 -3
- data/example/script/performance/benchmarker +0 -3
- data/example/script/performance/profiler +0 -3
- data/example/script/performance/request +0 -3
- data/example/script/plugin +0 -3
- data/example/script/process/inspector +0 -3
- data/example/script/process/reaper +0 -3
- data/example/script/process/spawner +0 -3
- data/example/script/runner +0 -3
- data/example/script/server +0 -3
- data/example/test/test_helper.rb +0 -41
- data/example23/db/development.sqlite3 +0 -0
- data/example23/db/s0_development.sqlite3 +0 -0
- data/example23/db/s0_test.sqlite3 +0 -0
- data/example23/db/s1_development.sqlite3 +0 -0
- data/example23/db/s1_test.sqlite3 +0 -0
- data/example23/db/test.sqlite3 +0 -0
- data/example23/log/development.log +0 -295
- data/example23/log/test.log +0 -551
- data/example23/vendor/plugins/data_fabric/init.rb +0 -3
- data/example23/vendor/plugins/data_fabric/lib/data_fabric.rb +0 -106
- data/example23/vendor/plugins/data_fabric/lib/data_fabric/ar20.rb +0 -133
- data/example23/vendor/plugins/data_fabric/lib/data_fabric/ar22.rb +0 -181
- data/example23/vendor/plugins/data_fabric/lib/data_fabric/dash.rb +0 -20
- data/example23/vendor/plugins/data_fabric/lib/data_fabric/version.rb +0 -7
- data/init.rb +0 -3
- data/lib/data_fabric/ar20.rb +0 -133
- data/lib/data_fabric/dash.rb +0 -20
- data/rails/init.rb +0 -1
data/example/public/500.html
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
-
|
6
|
-
<head>
|
7
|
-
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
8
|
-
<title>We're sorry, but something went wrong (500)</title>
|
9
|
-
<style type="text/css">
|
10
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
11
|
-
div.dialog {
|
12
|
-
width: 25em;
|
13
|
-
padding: 0 4em;
|
14
|
-
margin: 4em auto 0 auto;
|
15
|
-
border: 1px solid #ccc;
|
16
|
-
border-right-color: #999;
|
17
|
-
border-bottom-color: #999;
|
18
|
-
}
|
19
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
20
|
-
</style>
|
21
|
-
</head>
|
22
|
-
|
23
|
-
<body>
|
24
|
-
<!-- This file lives in public/500.html -->
|
25
|
-
<div class="dialog">
|
26
|
-
<h1>We're sorry, but something went wrong.</h1>
|
27
|
-
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
28
|
-
</div>
|
29
|
-
</body>
|
30
|
-
</html>
|
data/example/public/dispatch.cgi
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
2
|
-
|
3
|
-
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
|
4
|
-
|
5
|
-
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
|
6
|
-
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
|
7
|
-
require "dispatcher"
|
8
|
-
|
9
|
-
ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
|
10
|
-
Dispatcher.dispatch
|
@@ -1,24 +0,0 @@
|
|
1
|
-
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
2
|
-
#
|
3
|
-
# You may specify the path to the FastCGI crash log (a log of unhandled
|
4
|
-
# exceptions which forced the FastCGI instance to exit, great for debugging)
|
5
|
-
# and the number of requests to process before running garbage collection.
|
6
|
-
#
|
7
|
-
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
|
8
|
-
# and the GC period is nil (turned off). A reasonable number of requests
|
9
|
-
# could range from 10-100 depending on the memory footprint of your app.
|
10
|
-
#
|
11
|
-
# Example:
|
12
|
-
# # Default log path, normal GC behavior.
|
13
|
-
# RailsFCGIHandler.process!
|
14
|
-
#
|
15
|
-
# # Default log path, 50 requests between GC.
|
16
|
-
# RailsFCGIHandler.process! nil, 50
|
17
|
-
#
|
18
|
-
# # Custom log path, normal GC behavior.
|
19
|
-
# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
|
20
|
-
#
|
21
|
-
require File.dirname(__FILE__) + "/../config/environment"
|
22
|
-
require 'fcgi_handler'
|
23
|
-
|
24
|
-
RailsFCGIHandler.process!
|
data/example/public/dispatch.rb
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
2
|
-
|
3
|
-
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
|
4
|
-
|
5
|
-
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
|
6
|
-
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
|
7
|
-
require "dispatcher"
|
8
|
-
|
9
|
-
ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
|
10
|
-
Dispatcher.dispatch
|
data/example/public/favicon.ico
DELETED
File without changes
|
Binary file
|
data/example/public/robots.txt
DELETED
data/example/script/about
DELETED
data/example/script/console
DELETED
data/example/script/dbconsole
DELETED
data/example/script/destroy
DELETED
data/example/script/generate
DELETED
data/example/script/plugin
DELETED
data/example/script/runner
DELETED
data/example/script/server
DELETED
data/example/test/test_helper.rb
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
ENV["RAILS_ENV"] = "test"
|
2
|
-
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
|
3
|
-
require 'test_help'
|
4
|
-
|
5
|
-
ActiveRecord::Base.logger = Logger.new(STDOUT)
|
6
|
-
ActiveRecord::Base.logger.level = Logger::DEBUG
|
7
|
-
|
8
|
-
class Test::Unit::TestCase
|
9
|
-
# Transactional fixtures accelerate your tests by wrapping each test method
|
10
|
-
# in a transaction that's rolled back on completion. This ensures that the
|
11
|
-
# test database remains unchanged so your fixtures don't have to be reloaded
|
12
|
-
# between every test method. Fewer database queries means faster tests.
|
13
|
-
#
|
14
|
-
# Read Mike Clark's excellent walkthrough at
|
15
|
-
# http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
|
16
|
-
#
|
17
|
-
# Every Active Record database supports transactions except MyISAM tables
|
18
|
-
# in MySQL. Turn off transactional fixtures in this case; however, if you
|
19
|
-
# don't care one way or the other, switching from MyISAM to InnoDB tables
|
20
|
-
# is recommended.
|
21
|
-
#
|
22
|
-
# The only drawback to using transactional fixtures is when you actually
|
23
|
-
# need to test transactions. Since your test is bracketed by a transaction,
|
24
|
-
# any transactions started in your code will be automatically rolled back.
|
25
|
-
self.use_transactional_fixtures = true
|
26
|
-
|
27
|
-
# Instantiated fixtures are slow, but give you @david where otherwise you
|
28
|
-
# would need people(:david). If you don't want to migrate your existing
|
29
|
-
# test cases which use the @david style and don't mind the speed hit (each
|
30
|
-
# instantiated fixtures translates to a database query per test method),
|
31
|
-
# then set this back to true.
|
32
|
-
self.use_instantiated_fixtures = false
|
33
|
-
|
34
|
-
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
35
|
-
#
|
36
|
-
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
37
|
-
# -- they do not yet inherit this setting
|
38
|
-
fixtures :all
|
39
|
-
|
40
|
-
# Add more helper methods to be used by all tests here...
|
41
|
-
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/example23/db/test.sqlite3
DELETED
Binary file
|
@@ -1,295 +0,0 @@
|
|
1
|
-
# Logfile created on 2010-08-10 12:53:16 -0700 [4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
2
|
-
FROM sqlite_master
|
3
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
4
|
-
[0m
|
5
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
6
|
-
[4;36;1mSQL (1.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
7
|
-
[4;35;1mSQL (0.0ms)[0m [0mPRAGMA index_list("schema_migrations")[0m
|
8
|
-
[4;36;1mSQL (1.0ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
10
|
-
FROM sqlite_master
|
11
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
12
|
-
[0m
|
13
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
14
|
-
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
15
|
-
FROM sqlite_master
|
16
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
17
|
-
[0m
|
18
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
19
|
-
Migrating to CreateAccounts (20080702154628)
|
20
|
-
[4;36;1mSQL (0.0ms)[0m [0;1mselect sqlite_version(*)[0m
|
21
|
-
[4;35;1mSQL (0.7ms)[0m [0mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
22
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('20080702154628')[0m
|
23
|
-
Migrating to CreateFigments (20080702154820)
|
24
|
-
[4;35;1mSQL (0.3ms)[0m [0mCREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime) [0m
|
25
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mINSERT INTO schema_migrations (version) VALUES ('20080702154820')[0m
|
26
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
27
|
-
FROM sqlite_master
|
28
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
29
|
-
[0m
|
30
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
31
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
32
|
-
FROM sqlite_master
|
33
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
34
|
-
[0m
|
35
|
-
[4;36;1mSQL (0.0ms)[0m [0;1mPRAGMA index_list("accounts")[0m
|
36
|
-
[4;35;1mSQL (0.0ms)[0m [0mPRAGMA index_list("figments")[0m
|
37
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
38
|
-
FROM sqlite_master
|
39
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
40
|
-
[0m
|
41
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
42
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
43
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
44
|
-
FROM sqlite_master
|
45
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
46
|
-
[0m
|
47
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
48
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
49
|
-
FROM sqlite_master
|
50
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
51
|
-
[0m
|
52
|
-
[4;36;1mSQL (1.1ms)[0m [0;1mCREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime) [0m
|
53
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
54
|
-
FROM sqlite_master
|
55
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
56
|
-
[0m
|
57
|
-
[4;36;1mSQL (1.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
58
|
-
[4;35;1mSQL (0.0ms)[0m [0mPRAGMA index_list("schema_migrations")[0m
|
59
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
60
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
61
|
-
FROM sqlite_master
|
62
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
63
|
-
[0m
|
64
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
65
|
-
[4;35;1mSQL (1.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20080702154820')[0m
|
66
|
-
[4;36;1mSQL (2.3ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20080702154628')[0m
|
67
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
68
|
-
FROM sqlite_master
|
69
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
70
|
-
[0m
|
71
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
72
|
-
Migrating to CreateAccounts (20080702154628)
|
73
|
-
Migrating to CreateFigments (20080702154820)
|
74
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mselect sqlite_version(*)[0m
|
75
|
-
[4;35;1mSQL (20.7ms)[0m [0m SELECT name
|
76
|
-
FROM sqlite_master
|
77
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
78
|
-
[0m
|
79
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
80
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
81
|
-
FROM sqlite_master
|
82
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
83
|
-
[0m
|
84
|
-
[4;36;1mSQL (0.0ms)[0m [0;1mPRAGMA index_list("accounts")[0m
|
85
|
-
[4;35;1mSQL (0.0ms)[0m [0mPRAGMA index_list("figments")[0m
|
86
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
87
|
-
FROM sqlite_master
|
88
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
89
|
-
[0m
|
90
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
91
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
92
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
93
|
-
FROM sqlite_master
|
94
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
95
|
-
[0m
|
96
|
-
[4;36;1mSQL (1.7ms)[0m [0;1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
97
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
98
|
-
FROM sqlite_master
|
99
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
100
|
-
[0m
|
101
|
-
[4;36;1mSQL (1.4ms)[0m [0;1mCREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime) [0m
|
102
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
103
|
-
FROM sqlite_master
|
104
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
105
|
-
[0m
|
106
|
-
[4;36;1mSQL (1.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
107
|
-
[4;35;1mSQL (0.0ms)[0m [0mPRAGMA index_list("schema_migrations")[0m
|
108
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
109
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
110
|
-
FROM sqlite_master
|
111
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
112
|
-
[0m
|
113
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
114
|
-
[4;35;1mSQL (1.5ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20080702154820')[0m
|
115
|
-
[4;36;1mSQL (1.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20080702154628')[0m
|
116
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
117
|
-
FROM sqlite_master
|
118
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
119
|
-
[0m
|
120
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
121
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
122
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
123
|
-
FROM sqlite_master
|
124
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
125
|
-
[0m
|
126
|
-
[4;36;1mSQL (1.2ms)[0m [0;1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
127
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
128
|
-
FROM sqlite_master
|
129
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
130
|
-
[0m
|
131
|
-
[4;36;1mSQL (1.1ms)[0m [0;1mCREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime) [0m
|
132
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
133
|
-
FROM sqlite_master
|
134
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
135
|
-
[0m
|
136
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
137
|
-
[4;35;1mSQL (0.0ms)[0m [0mPRAGMA index_list("schema_migrations")[0m
|
138
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
139
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
140
|
-
FROM sqlite_master
|
141
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
142
|
-
[0m
|
143
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
144
|
-
[4;35;1mSQL (1.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20080702154820')[0m
|
145
|
-
[4;36;1mSQL (2.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20080702154628')[0m
|
146
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
147
|
-
FROM sqlite_master
|
148
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
149
|
-
[0m
|
150
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
151
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
152
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
153
|
-
FROM sqlite_master
|
154
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
155
|
-
[0m
|
156
|
-
[4;36;1mSQL (1.4ms)[0m [0;1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
157
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
158
|
-
FROM sqlite_master
|
159
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
160
|
-
[0m
|
161
|
-
[4;36;1mSQL (1.2ms)[0m [0;1mCREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime) [0m
|
162
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
163
|
-
FROM sqlite_master
|
164
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
165
|
-
[0m
|
166
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
167
|
-
[4;35;1mSQL (0.0ms)[0m [0mPRAGMA index_list("schema_migrations")[0m
|
168
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
169
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
170
|
-
FROM sqlite_master
|
171
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
172
|
-
[0m
|
173
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
174
|
-
[4;35;1mSQL (1.4ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20080702154820')[0m
|
175
|
-
[4;36;1mSQL (1.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20080702154628')[0m
|
176
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
177
|
-
FROM sqlite_master
|
178
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
179
|
-
[0m
|
180
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
181
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
182
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
183
|
-
FROM sqlite_master
|
184
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
185
|
-
[0m
|
186
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
187
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
188
|
-
FROM sqlite_master
|
189
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
190
|
-
[0m
|
191
|
-
[4;36;1mSQL (1.1ms)[0m [0;1mCREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime) [0m
|
192
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
193
|
-
FROM sqlite_master
|
194
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
195
|
-
[0m
|
196
|
-
[4;36;1mSQL (1.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
197
|
-
[4;35;1mSQL (0.0ms)[0m [0mPRAGMA index_list("schema_migrations")[0m
|
198
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
199
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
200
|
-
FROM sqlite_master
|
201
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
202
|
-
[0m
|
203
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
204
|
-
[4;35;1mSQL (1.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20080702154820')[0m
|
205
|
-
[4;36;1mSQL (1.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20080702154628')[0m
|
206
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
207
|
-
FROM sqlite_master
|
208
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
209
|
-
[0m
|
210
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
211
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
212
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
213
|
-
FROM sqlite_master
|
214
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
215
|
-
[0m
|
216
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
217
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
218
|
-
FROM sqlite_master
|
219
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
220
|
-
[0m
|
221
|
-
[4;36;1mSQL (1.0ms)[0m [0;1mCREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime) [0m
|
222
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
223
|
-
FROM sqlite_master
|
224
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
225
|
-
[0m
|
226
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
227
|
-
[4;35;1mSQL (0.0ms)[0m [0mPRAGMA index_list("schema_migrations")[0m
|
228
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
229
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
230
|
-
FROM sqlite_master
|
231
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
232
|
-
[0m
|
233
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
234
|
-
[4;35;1mSQL (1.8ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20080702154820')[0m
|
235
|
-
[4;36;1mSQL (1.1ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20080702154628')[0m
|
236
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
237
|
-
FROM sqlite_master
|
238
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
239
|
-
[0m
|
240
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
241
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
242
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
243
|
-
FROM sqlite_master
|
244
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
245
|
-
[0m
|
246
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
247
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
248
|
-
FROM sqlite_master
|
249
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
250
|
-
[0m
|
251
|
-
[4;36;1mSQL (1.1ms)[0m [0;1mCREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime) [0m
|
252
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
253
|
-
FROM sqlite_master
|
254
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
255
|
-
[0m
|
256
|
-
[4;36;1mSQL (1.4ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
257
|
-
[4;35;1mSQL (0.0ms)[0m [0mPRAGMA index_list("schema_migrations")[0m
|
258
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
259
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
260
|
-
FROM sqlite_master
|
261
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
262
|
-
[0m
|
263
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
264
|
-
[4;35;1mSQL (1.2ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20080702154820')[0m
|
265
|
-
[4;36;1mSQL (1.2ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20080702154628')[0m
|
266
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
267
|
-
FROM sqlite_master
|
268
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
269
|
-
[0m
|
270
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
271
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
272
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
273
|
-
FROM sqlite_master
|
274
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
275
|
-
[0m
|
276
|
-
[4;36;1mSQL (1.2ms)[0m [0;1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
277
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
278
|
-
FROM sqlite_master
|
279
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
280
|
-
[0m
|
281
|
-
[4;36;1mSQL (1.2ms)[0m [0;1mCREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime) [0m
|
282
|
-
[4;35;1mSQL (0.1ms)[0m [0m SELECT name
|
283
|
-
FROM sqlite_master
|
284
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
285
|
-
[0m
|
286
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
287
|
-
[4;35;1mSQL (0.1ms)[0m [0mPRAGMA index_list("schema_migrations")[0m
|
288
|
-
[4;36;1mSQL (1.3ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
289
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
290
|
-
FROM sqlite_master
|
291
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
292
|
-
[0m
|
293
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
294
|
-
[4;35;1mSQL (1.3ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20080702154820')[0m
|
295
|
-
[4;36;1mSQL (2.3ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20080702154628')[0m
|