redirector 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -0
- data/app/models/redirect_rule.rb +6 -0
- data/lib/redirector.rb +1 -0
- data/lib/redirector/engine.rb +1 -0
- data/lib/redirector/middleware.rb +8 -2
- data/lib/redirector/version.rb +1 -1
- data/spec/dummy/config/database.yml +2 -2
- data/spec/dummy/log/development.log +2 -486
- data/spec/dummy/log/test.log +8384 -26039
- data/spec/features/middleware_spec.rb +20 -8
- data/spec/models/redirect_rule_spec.rb +9 -0
- metadata +4 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad42ef21589444516bcf0d1b6d381d2c1db2e560
|
4
|
+
data.tar.gz: 127e4f057f0d017d22dde3aaab39cf5fd574870b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b48d0cb2e7fe015b01d3e4fd8932ad56c72c5e91bd759f5baa4aa956476f1b92caecd595f19fe8dbe1575e5c76c30ac926a8f41a5b2507a004ba72d42fcfbf8
|
7
|
+
data.tar.gz: d0ce4195ebbd8ffaa7859fa52518094d82a0858e523f8a8115a6015d79382e9b40c80adfe5f60aba5cd679bf74e696e461db2866d0fdf07249dbcd57b2e0fd40
|
data/README.md
CHANGED
@@ -26,6 +26,8 @@ Redirector is a Rails engine that adds a piece of middleware to the top of your
|
|
26
26
|
|
27
27
|
`preserve_query`: Pass the query string parameters through from the source to the target URL.
|
28
28
|
|
29
|
+
`ignored_patterns`: Lets you define an array of regex patterns which will be ignored when searching for redirect records. ie: `[/^\/assets\/.+/]` will bypass a database lookup for any path that starts with `/assets/`. This can be useful in preventing numerous unnecessary lookups.
|
30
|
+
|
29
31
|
You can set these inside your configuration in `config/application.rb` of your Rails application like so:
|
30
32
|
|
31
33
|
```ruby
|
@@ -35,6 +37,7 @@ module MyApplication
|
|
35
37
|
|
36
38
|
config.redirector.include_query_in_source = true
|
37
39
|
config.redirector.silence_sql_logs = true
|
40
|
+
config.redirector.ignored_patterns = [/^\/assets\/.+/]
|
38
41
|
end
|
39
42
|
end
|
40
43
|
```
|
@@ -105,3 +108,11 @@ If you require support for another database, the only thing that needs to be add
|
|
105
108
|
## Copyright
|
106
109
|
|
107
110
|
Copyright (c) 2012 Brian Landau (Viget). See MIT_LICENSE for further details.
|
111
|
+
|
112
|
+
***
|
113
|
+
|
114
|
+
<a href="http://code.viget.com">
|
115
|
+
<img src="http://code.viget.com/github-banner.png" alt="Code At Viget">
|
116
|
+
</a>
|
117
|
+
|
118
|
+
Visit [code.viget.com](http://code.viget.com) to see more projects from [Viget.](https://viget.com)
|
data/app/models/redirect_rule.rb
CHANGED
@@ -16,6 +16,8 @@ class RedirectRule < ActiveRecord::Base
|
|
16
16
|
validates :source, :destination, :presence => true
|
17
17
|
validates :active, :inclusion => { :in => ['0', '1', true, false] }
|
18
18
|
|
19
|
+
before_save :strip_source_whitespace
|
20
|
+
|
19
21
|
def self.regex_expression
|
20
22
|
if connection_mysql?
|
21
23
|
'(redirect_rules.source_is_case_sensitive = :true AND :source REGEXP BINARY redirect_rules.source) OR '+
|
@@ -72,4 +74,8 @@ class RedirectRule < ActiveRecord::Base
|
|
72
74
|
connection.adapter_name.downcase.include?('mysql')
|
73
75
|
end
|
74
76
|
|
77
|
+
def strip_source_whitespace
|
78
|
+
self.source = self.source.strip
|
79
|
+
end
|
80
|
+
|
75
81
|
end
|
data/lib/redirector.rb
CHANGED
@@ -5,6 +5,7 @@ module Redirector
|
|
5
5
|
mattr_accessor :include_query_in_source
|
6
6
|
mattr_accessor :preserve_query
|
7
7
|
mattr_accessor :silence_sql_logs
|
8
|
+
mattr_accessor :ignored_patterns
|
8
9
|
|
9
10
|
def self.active_record_protected_attributes?
|
10
11
|
@active_record_protected_attributes ||= Rails.version.to_i < 4 || defined?(ProtectedAttributes)
|
data/lib/redirector/engine.rb
CHANGED
@@ -10,6 +10,7 @@ module Redirector
|
|
10
10
|
Redirector.include_query_in_source = app.config.redirector.include_query_in_source || false
|
11
11
|
Redirector.preserve_query = app.config.redirector.preserve_query || false
|
12
12
|
Redirector.silence_sql_logs = app.config.redirector.silence_sql_logs || false
|
13
|
+
Redirector.ignored_patterns = app.config.redirector.ignored_patterns || []
|
13
14
|
end
|
14
15
|
end
|
15
16
|
end
|
@@ -29,7 +29,7 @@ module Redirector
|
|
29
29
|
private
|
30
30
|
|
31
31
|
def redirect?
|
32
|
-
matched_destination.present?
|
32
|
+
!ignore_path? && matched_destination.present?
|
33
33
|
end
|
34
34
|
|
35
35
|
def matched_destination
|
@@ -46,8 +46,14 @@ module Redirector
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
+
def ignore_path?
|
50
|
+
Redirector.ignored_patterns.any? do |pattern|
|
51
|
+
request_path.match pattern
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
49
55
|
def request_path
|
50
|
-
if Redirector.include_query_in_source
|
56
|
+
@request_path ||= if Redirector.include_query_in_source
|
51
57
|
env['ORIGINAL_FULLPATH']
|
52
58
|
else
|
53
59
|
env['PATH_INFO']
|
data/lib/redirector/version.rb
CHANGED
@@ -5,7 +5,7 @@ development:
|
|
5
5
|
database: redirector_dummy_development
|
6
6
|
pool: 5
|
7
7
|
username: root
|
8
|
-
password:
|
8
|
+
password: eli
|
9
9
|
|
10
10
|
test:
|
11
11
|
adapter: mysql2
|
@@ -14,4 +14,4 @@ test:
|
|
14
14
|
database: redirector_dummy_test
|
15
15
|
pool: 5
|
16
16
|
username: root
|
17
|
-
password:
|
17
|
+
password: eli
|
@@ -1,489 +1,5 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
-
[1m[36m (
|
3
|
-
[1m[35m (11.9ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
4
|
-
[1m[36m (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
2
|
+
[1m[36m (1.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
5
3
|
Migrating to CreateRedirectRules (20120815212612)
|
6
|
-
[1m[35m (8.8ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
7
|
-
[1m[36m (10.7ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)[0m
|
8
|
-
[1m[35m (11.6ms)[0m CREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)
|
9
|
-
[1m[36m (12.9ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)[0m
|
10
|
-
[1m[35m (13.1ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)
|
11
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120815212612')[0m
|
12
4
|
Migrating to CreateRequestEnvironmentRules (20120823163756)
|
13
|
-
[1m[35m (
|
14
|
-
[1m[36m (9.5ms)[0m [1mCREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)[0m
|
15
|
-
[1m[35m (0.9ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120823163756')
|
16
|
-
[1m[36m (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
17
|
-
Connecting to database specified by database.yml
|
18
|
-
[1m[36m (22.8ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
19
|
-
[1m[35m (14.4ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
20
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
21
|
-
Migrating to CreateRedirectRules (20120815212612)
|
22
|
-
[1m[35m (25.2ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
23
|
-
[1m[36m (13.0ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)[0m
|
24
|
-
[1m[35m (15.3ms)[0m CREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)
|
25
|
-
[1m[36m (21.1ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)[0m
|
26
|
-
[1m[35m (14.2ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)
|
27
|
-
[1m[36m (1.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120815212612')[0m
|
28
|
-
Migrating to CreateRequestEnvironmentRules (20120823163756)
|
29
|
-
[1m[35m (28.6ms)[0m CREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
30
|
-
[1m[36m (21.0ms)[0m [1mCREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)[0m
|
31
|
-
[1m[35m (0.4ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120823163756')
|
32
|
-
[1m[36m (0.6ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
33
|
-
Connecting to database specified by database.yml
|
34
|
-
[1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
35
|
-
[1m[35m (0.4ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
36
|
-
[1m[36m (0.4ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
37
|
-
[1m[35m (26.1ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
38
|
-
[1m[36m (11.0ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
39
|
-
[1m[35m (11.7ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
40
|
-
[1m[36m (12.8ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
41
|
-
[1m[35m (17.8ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
42
|
-
[1m[36m (10.5ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
43
|
-
[1m[35m (10.7ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
44
|
-
[1m[36m (9.0ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
45
|
-
[1m[35m (14.4ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
46
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
47
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
48
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
49
|
-
Connecting to database specified by database.yml
|
50
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
51
|
-
[1m[35m (9.3ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
52
|
-
[1m[36m (0.4ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
53
|
-
[1m[35m (21.1ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
54
|
-
[1m[36m (16.0ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
55
|
-
[1m[35m (12.4ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
56
|
-
[1m[36m (18.3ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
57
|
-
[1m[35m (15.9ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
58
|
-
[1m[36m (7.5ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
59
|
-
[1m[35m (10.9ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
60
|
-
[1m[36m (7.8ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
61
|
-
[1m[35m (16.4ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
62
|
-
[1m[36m (0.3ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
63
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
64
|
-
[1m[36m (0.7ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
65
|
-
Connecting to database specified by database.yml
|
66
|
-
[1m[36m (27.6ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
67
|
-
[1m[35m (45.2ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
68
|
-
[1m[36m (0.6ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
69
|
-
[1m[35m (28.6ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
70
|
-
[1m[36m (12.0ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
71
|
-
[1m[35m (10.9ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
72
|
-
[1m[36m (11.7ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
73
|
-
[1m[35m (13.8ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
74
|
-
[1m[36m (10.4ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
75
|
-
[1m[35m (10.6ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
76
|
-
[1m[36m (6.9ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
77
|
-
[1m[35m (12.8ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
78
|
-
[1m[36m (0.2ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
79
|
-
[1m[35m (0.5ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
80
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
81
|
-
Connecting to database specified by database.yml
|
82
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
83
|
-
[1m[35m (6.1ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
84
|
-
[1m[36m (0.5ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
85
|
-
[1m[35m (19.3ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
86
|
-
[1m[36m (9.5ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
87
|
-
[1m[35m (10.6ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
88
|
-
[1m[36m (11.3ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
89
|
-
[1m[35m (13.6ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
90
|
-
[1m[36m (7.2ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
91
|
-
[1m[35m (9.4ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
92
|
-
[1m[36m (7.4ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
93
|
-
[1m[35m (13.3ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
94
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
95
|
-
[1m[35m (0.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
96
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
97
|
-
Connecting to database specified by database.yml
|
98
|
-
[1m[36m (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
99
|
-
[1m[35m (11.1ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
100
|
-
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
101
|
-
[1m[35m (7.3ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
102
|
-
[1m[36m (9.7ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
103
|
-
[1m[35m (12.3ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
104
|
-
[1m[36m (11.4ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
105
|
-
[1m[35m (13.6ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
106
|
-
[1m[36m (7.1ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
107
|
-
[1m[35m (10.6ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
108
|
-
[1m[36m (7.4ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
109
|
-
[1m[35m (11.0ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
110
|
-
[1m[36m (0.2ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
111
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
112
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
113
|
-
Connecting to database specified by database.yml
|
114
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
115
|
-
[1m[35m (5.6ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
116
|
-
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
117
|
-
[1m[35m (10.3ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
118
|
-
[1m[36m (11.0ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
119
|
-
[1m[35m (11.5ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
120
|
-
[1m[36m (13.7ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
121
|
-
[1m[35m (13.2ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
122
|
-
[1m[36m (8.3ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
123
|
-
[1m[35m (10.0ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
124
|
-
[1m[36m (8.6ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
125
|
-
[1m[35m (12.3ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
126
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
127
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
128
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
129
|
-
Connecting to database specified by database.yml
|
130
|
-
[1m[36m (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
131
|
-
[1m[35m (5.6ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
132
|
-
[1m[36m (0.4ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
133
|
-
[1m[35m (8.2ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
134
|
-
[1m[36m (9.6ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
135
|
-
[1m[35m (12.1ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
136
|
-
[1m[36m (12.3ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
137
|
-
[1m[35m (13.8ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
138
|
-
[1m[36m (8.4ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
139
|
-
[1m[35m (9.6ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
140
|
-
[1m[36m (7.9ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
141
|
-
[1m[35m (12.9ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
142
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
143
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
144
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
145
|
-
Connecting to database specified by database.yml
|
146
|
-
[1m[36m (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
147
|
-
[1m[35m (5.5ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
148
|
-
[1m[36m (0.4ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
149
|
-
[1m[35m (8.1ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
150
|
-
[1m[36m (9.5ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
151
|
-
[1m[35m (11.5ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
152
|
-
[1m[36m (11.9ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
153
|
-
[1m[35m (13.4ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
154
|
-
[1m[36m (8.1ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
155
|
-
[1m[35m (9.8ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
156
|
-
[1m[36m (8.1ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
157
|
-
[1m[35m (12.2ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
158
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
159
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
160
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
161
|
-
Connecting to database specified by database.yml
|
162
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
163
|
-
[1m[35m (7.8ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
164
|
-
[1m[36m (0.7ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
165
|
-
[1m[35m (10.3ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
166
|
-
[1m[36m (13.2ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
167
|
-
[1m[35m (10.8ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
168
|
-
[1m[36m (15.1ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
169
|
-
[1m[35m (13.9ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
170
|
-
[1m[36m (7.5ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
171
|
-
[1m[35m (9.8ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
172
|
-
[1m[36m (7.9ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
173
|
-
[1m[35m (13.3ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
174
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
175
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
176
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
177
|
-
Connecting to database specified by database.yml
|
178
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
179
|
-
[1m[35m (11.6ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
180
|
-
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
181
|
-
[1m[35m (28.7ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
182
|
-
[1m[36m (13.3ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
183
|
-
[1m[35m (14.9ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
184
|
-
[1m[36m (12.0ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
185
|
-
[1m[35m (13.0ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
186
|
-
[1m[36m (8.3ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
187
|
-
[1m[35m (11.4ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
188
|
-
[1m[36m (8.0ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
189
|
-
[1m[35m (11.4ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
190
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
191
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
192
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
193
|
-
Connecting to database specified by database.yml
|
194
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
195
|
-
[1m[35m (6.1ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
196
|
-
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
197
|
-
[1m[35m (19.2ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
198
|
-
[1m[36m (12.0ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
199
|
-
[1m[35m (11.3ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
200
|
-
[1m[36m (12.7ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
201
|
-
[1m[35m (14.6ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
202
|
-
[1m[36m (8.1ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
203
|
-
[1m[35m (11.4ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
204
|
-
[1m[36m (8.0ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
205
|
-
[1m[35m (12.1ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
206
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
207
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
208
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
209
|
-
Connecting to database specified by database.yml
|
210
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
211
|
-
[1m[35m (5.8ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
212
|
-
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
213
|
-
[1m[35m (11.4ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
214
|
-
[1m[36m (11.4ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
215
|
-
[1m[35m (11.4ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
216
|
-
[1m[36m (13.8ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
217
|
-
[1m[35m (13.0ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
218
|
-
[1m[36m (8.2ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
219
|
-
[1m[35m (10.1ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
220
|
-
[1m[36m (7.9ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
221
|
-
[1m[35m (12.1ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
222
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
223
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
224
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
225
|
-
Connecting to database specified by database.yml
|
226
|
-
[1m[36m (5.9ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
227
|
-
[1m[35m (15.8ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
228
|
-
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
229
|
-
[1m[35m (28.5ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
230
|
-
[1m[36m (11.0ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
231
|
-
[1m[35m (10.2ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
232
|
-
[1m[36m (10.7ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
233
|
-
[1m[35m (12.9ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
234
|
-
[1m[36m (8.6ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
235
|
-
[1m[35m (9.3ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
236
|
-
[1m[36m (7.6ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
237
|
-
[1m[35m (18.4ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
238
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
239
|
-
[1m[35m (12.1ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
240
|
-
[1m[36m (5.1ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
241
|
-
[1m[36m (29.4ms)[0m [1mDROP DATABASE IF EXISTS `redirector_dummy_test`[0m
|
242
|
-
[1m[35m (0.3ms)[0m CREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
243
|
-
[1m[36m (26.2ms)[0m [1mCREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
244
|
-
[1m[35m (11.2ms)[0m CREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)
|
245
|
-
[1m[36m (11.5ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`) [0m
|
246
|
-
[1m[35m (12.6ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)
|
247
|
-
[1m[36m (15.2ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`) [0m
|
248
|
-
[1m[35m (8.2ms)[0m CREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
249
|
-
[1m[36m (10.7ms)[0m [1mCREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`) [0m
|
250
|
-
[1m[35m (30.8ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
251
|
-
[1m[36m (11.8ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) [0m
|
252
|
-
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
253
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120823163756')[0m
|
254
|
-
[1m[35m (0.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120815212612')
|
255
|
-
Connecting to database specified by database.yml
|
256
|
-
[1m[36m (24.0ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
257
|
-
[1m[35m (38.4ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
258
|
-
[1m[36m (1.5ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
259
|
-
[1m[35m (26.7ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
260
|
-
[1m[36m (11.2ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
261
|
-
[1m[35m (8.7ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
262
|
-
[1m[36m (8.5ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
263
|
-
[1m[35m (9.3ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
264
|
-
[1m[36m (7.2ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
265
|
-
[1m[35m (8.6ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
266
|
-
[1m[36m (8.1ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
267
|
-
[1m[35m (12.1ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
268
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
269
|
-
[1m[35m (0.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
270
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
271
|
-
[1m[36m (22.0ms)[0m [1mDROP DATABASE IF EXISTS `redirector_dummy_test`[0m
|
272
|
-
[1m[35m (0.4ms)[0m CREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
273
|
-
[1m[36m (27.1ms)[0m [1mCREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
274
|
-
[1m[35m (10.8ms)[0m CREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)
|
275
|
-
[1m[36m (11.0ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`) [0m
|
276
|
-
[1m[35m (8.0ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)
|
277
|
-
[1m[36m (9.8ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`) [0m
|
278
|
-
[1m[35m (7.3ms)[0m CREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
279
|
-
[1m[36m (8.7ms)[0m [1mCREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`) [0m
|
280
|
-
[1m[35m (29.3ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
281
|
-
[1m[36m (10.5ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) [0m
|
282
|
-
[1m[35m (0.3ms)[0m SELECT version FROM `schema_migrations`
|
283
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120823163756')[0m
|
284
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120815212612')
|
285
|
-
[1m[36m (28.6ms)[0m [1mDROP DATABASE IF EXISTS `redirector_dummy_test`[0m
|
286
|
-
[1m[35m (0.5ms)[0m CREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
287
|
-
[1m[36m (23.5ms)[0m [1mCREATE TABLE `redirect_rules` (`id` int(11) auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
288
|
-
[1m[35m (9.3ms)[0m CREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)
|
289
|
-
[1m[36m (9.3ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`) [0m
|
290
|
-
[1m[35m (8.9ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)
|
291
|
-
[1m[36m (8.8ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`) [0m
|
292
|
-
[1m[35m (7.4ms)[0m CREATE TABLE `request_environment_rules` (`id` int(11) auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
293
|
-
[1m[36m (8.4ms)[0m [1mCREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`) [0m
|
294
|
-
[1m[35m (26.4ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
295
|
-
[1m[36m (12.7ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) [0m
|
296
|
-
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
297
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120823163756')[0m
|
298
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120815212612')
|
299
|
-
[1m[36m (28.6ms)[0m [1mDROP DATABASE IF EXISTS `redirector_dummy_test`[0m
|
300
|
-
[1m[35m (0.3ms)[0m CREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
301
|
-
[1m[36m (21.6ms)[0m [1mCREATE TABLE `redirect_rules` (`id` int(11) auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
302
|
-
[1m[35m (8.7ms)[0m CREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)
|
303
|
-
[1m[36m (9.4ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`) [0m
|
304
|
-
[1m[35m (10.7ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)
|
305
|
-
[1m[36m (9.3ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`) [0m
|
306
|
-
[1m[35m (8.0ms)[0m CREATE TABLE `request_environment_rules` (`id` int(11) auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
307
|
-
[1m[36m (9.2ms)[0m [1mCREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`) [0m
|
308
|
-
[1m[35m (25.3ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
309
|
-
[1m[36m (11.2ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) [0m
|
310
|
-
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
311
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120823163756')[0m
|
312
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120815212612')
|
313
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
314
|
-
[1m[35m (5.6ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
315
|
-
[1m[36m (0.4ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
316
|
-
[1m[35m (25.2ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
317
|
-
[1m[36m (9.2ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
318
|
-
[1m[35m (8.2ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
319
|
-
[1m[36m (9.0ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
320
|
-
[1m[35m (12.2ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
321
|
-
[1m[36m (7.4ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
322
|
-
[1m[35m (8.2ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
323
|
-
[1m[36m (7.6ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
324
|
-
[1m[35m (11.5ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
325
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
326
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
327
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
328
|
-
[1m[36m (11.5ms)[0m [1mDROP DATABASE IF EXISTS `redirector_dummy_test`[0m
|
329
|
-
[1m[35m (0.3ms)[0m CREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
330
|
-
[1m[36m (21.7ms)[0m [1mCREATE TABLE `redirect_rules` (`id` int(11) auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
331
|
-
[1m[35m (9.0ms)[0m CREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)
|
332
|
-
[1m[36m (14.3ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`) [0m
|
333
|
-
[1m[35m (9.0ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)
|
334
|
-
[1m[36m (8.8ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`) [0m
|
335
|
-
[1m[35m (7.9ms)[0m CREATE TABLE `request_environment_rules` (`id` int(11) auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
336
|
-
[1m[36m (8.6ms)[0m [1mCREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`) [0m
|
337
|
-
[1m[35m (7.0ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
338
|
-
[1m[36m (11.2ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) [0m
|
339
|
-
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
340
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120823163756')[0m
|
341
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120815212612')
|
342
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
343
|
-
[1m[35m (28.6ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
344
|
-
[1m[36m (1.1ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
345
|
-
[1m[35m (24.0ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
346
|
-
[1m[36m (9.3ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
347
|
-
[1m[35m (9.2ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
348
|
-
[1m[36m (8.5ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
349
|
-
[1m[35m (8.8ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
350
|
-
[1m[36m (7.6ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
351
|
-
[1m[35m (8.3ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
352
|
-
[1m[36m (7.6ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
353
|
-
[1m[35m (12.0ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
354
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
355
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
356
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
357
|
-
[1m[36m (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
358
|
-
[1m[35m (5.3ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
359
|
-
[1m[36m (0.4ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
360
|
-
[1m[35m (10.1ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
361
|
-
[1m[36m (8.8ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
362
|
-
[1m[35m (8.9ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
363
|
-
[1m[36m (9.4ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
364
|
-
[1m[35m (8.6ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
365
|
-
[1m[36m (7.8ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
366
|
-
[1m[35m (9.4ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
367
|
-
[1m[36m (7.9ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
368
|
-
[1m[35m (11.0ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
369
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
370
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
371
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
372
|
-
[1m[36m (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
373
|
-
[1m[35m (5.1ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
374
|
-
[1m[36m (0.4ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
375
|
-
[1m[35m (8.1ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
376
|
-
[1m[36m (8.7ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
377
|
-
[1m[35m (10.1ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
378
|
-
[1m[36m (9.8ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
379
|
-
[1m[35m (8.1ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
380
|
-
[1m[36m (7.9ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
381
|
-
[1m[35m (13.1ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
382
|
-
[1m[36m (6.8ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
383
|
-
[1m[35m (10.9ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
384
|
-
[1m[36m (0.2ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
385
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
386
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
387
|
-
Connecting to database specified by database.yml
|
388
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
389
|
-
[1m[35m (9.6ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
390
|
-
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
391
|
-
[1m[35m (25.7ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
392
|
-
[1m[36m (13.4ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
393
|
-
[1m[35m (9.5ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
394
|
-
[1m[36m (13.4ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
395
|
-
[1m[35m (12.4ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
396
|
-
[1m[36m (7.9ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
397
|
-
[1m[35m (10.1ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
398
|
-
[1m[36m (7.0ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
399
|
-
[1m[35m (10.3ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
400
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
401
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
402
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
403
|
-
[1m[36m (76.3ms)[0m [1mDROP DATABASE IF EXISTS `redirector_dummy_test`[0m
|
404
|
-
[1m[35m (5.5ms)[0m CREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
405
|
-
[1m[36m (56.8ms)[0m [1mCREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
406
|
-
[1m[35m (48.1ms)[0m CREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)
|
407
|
-
[1m[36m (46.9ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`) [0m
|
408
|
-
[1m[35m (46.9ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)
|
409
|
-
[1m[36m (47.0ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`) [0m
|
410
|
-
[1m[35m (49.7ms)[0m CREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
411
|
-
[1m[36m (46.2ms)[0m [1mCREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`) [0m
|
412
|
-
[1m[35m (50.1ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
413
|
-
[1m[36m (79.8ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) [0m
|
414
|
-
[1m[35m (0.3ms)[0m SELECT version FROM `schema_migrations`
|
415
|
-
[1m[36m (5.6ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120823163756')[0m
|
416
|
-
[1m[35m (5.6ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120815212612')
|
417
|
-
[1m[36m (16.5ms)[0m [1mDROP DATABASE IF EXISTS `redirector_dummy_test`[0m
|
418
|
-
[1m[35m (0.4ms)[0m CREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
419
|
-
[1m[36m (25.5ms)[0m [1mCREATE TABLE `redirect_rules` (`id` int(11) auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
420
|
-
[1m[35m (8.7ms)[0m CREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)
|
421
|
-
[1m[36m (9.9ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`) [0m
|
422
|
-
[1m[35m (7.6ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)
|
423
|
-
[1m[36m (8.9ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`) [0m
|
424
|
-
[1m[35m (7.4ms)[0m CREATE TABLE `request_environment_rules` (`id` int(11) auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
425
|
-
[1m[36m (9.0ms)[0m [1mCREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`) [0m
|
426
|
-
[1m[35m (7.1ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
427
|
-
[1m[36m (11.3ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) [0m
|
428
|
-
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
429
|
-
[1m[36m (0.7ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120823163756')[0m
|
430
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120815212612')
|
431
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
432
|
-
[1m[35m (4.8ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
433
|
-
[1m[36m (0.4ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
434
|
-
[1m[35m (8.1ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
435
|
-
[1m[36m (7.3ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
436
|
-
[1m[35m (8.3ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
437
|
-
[1m[36m (9.3ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
438
|
-
[1m[35m (8.6ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
439
|
-
[1m[36m (6.3ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
440
|
-
[1m[35m (7.7ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
441
|
-
[1m[36m (7.4ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
442
|
-
[1m[35m (11.0ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
443
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
444
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
445
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
446
|
-
Connecting to database specified by database.yml
|
447
|
-
[1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
448
|
-
[1m[35m (5.7ms)[0m DROP DATABASE IF EXISTS `redirector_dummy_test`
|
449
|
-
[1m[36m (0.6ms)[0m [1mCREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
450
|
-
[1m[35m (18.5ms)[0m CREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
451
|
-
[1m[36m (11.0ms)[0m [1mCREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)[0m
|
452
|
-
[1m[35m (8.8ms)[0m CREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`)
|
453
|
-
[1m[36m (8.5ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)[0m
|
454
|
-
[1m[35m (8.5ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`)
|
455
|
-
[1m[36m (7.4ms)[0m [1mCREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
456
|
-
[1m[35m (8.6ms)[0m CREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`)
|
457
|
-
[1m[36m (7.6ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
458
|
-
[1m[35m (11.2ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
459
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
460
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120823163756')
|
461
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120815212612')[0m
|
462
|
-
[1m[36m (5.7ms)[0m [1mDROP DATABASE IF EXISTS `redirector_dummy_test`[0m
|
463
|
-
[1m[35m (0.4ms)[0m CREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
464
|
-
[1m[36m (20.4ms)[0m [1mCREATE TABLE `redirect_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
465
|
-
[1m[35m (10.1ms)[0m CREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)
|
466
|
-
[1m[36m (9.9ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`) [0m
|
467
|
-
[1m[35m (9.4ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)
|
468
|
-
[1m[36m (8.7ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`) [0m
|
469
|
-
[1m[35m (6.6ms)[0m CREATE TABLE `request_environment_rules` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
470
|
-
[1m[36m (8.6ms)[0m [1mCREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`) [0m
|
471
|
-
[1m[35m (6.9ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
472
|
-
[1m[36m (10.0ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) [0m
|
473
|
-
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
474
|
-
[1m[36m (0.5ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120823163756')[0m
|
475
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120815212612')
|
476
|
-
[1m[36m (5.8ms)[0m [1mDROP DATABASE IF EXISTS `redirector_dummy_test`[0m
|
477
|
-
[1m[35m (0.3ms)[0m CREATE DATABASE `redirector_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
478
|
-
[1m[36m (36.3ms)[0m [1mCREATE TABLE `redirect_rules` (`id` int(11) auto_increment PRIMARY KEY, `source` varchar(255) NOT NULL, `source_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `source_is_case_sensitive` tinyint(1) DEFAULT 0 NOT NULL, `destination` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 0, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
479
|
-
[1m[35m (9.0ms)[0m CREATE INDEX `index_redirect_rules_on_active` ON `redirect_rules` (`active`)
|
480
|
-
[1m[36m (9.2ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source` ON `redirect_rules` (`source`) [0m
|
481
|
-
[1m[35m (9.8ms)[0m CREATE INDEX `index_redirect_rules_on_source_is_case_sensitive` ON `redirect_rules` (`source_is_case_sensitive`)
|
482
|
-
[1m[36m (8.3ms)[0m [1mCREATE INDEX `index_redirect_rules_on_source_is_regex` ON `redirect_rules` (`source_is_regex`) [0m
|
483
|
-
[1m[35m (7.3ms)[0m CREATE TABLE `request_environment_rules` (`id` int(11) auto_increment PRIMARY KEY, `redirect_rule_id` int(11) NOT NULL, `environment_key_name` varchar(255) NOT NULL, `environment_value` varchar(255) NOT NULL, `environment_value_is_regex` tinyint(1) DEFAULT 0 NOT NULL, `environment_value_is_case_sensitive` tinyint(1) DEFAULT 1 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
484
|
-
[1m[36m (8.6ms)[0m [1mCREATE INDEX `index_request_environment_rules_on_redirect_rule_id` ON `request_environment_rules` (`redirect_rule_id`) [0m
|
485
|
-
[1m[35m (7.5ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
486
|
-
[1m[36m (11.3ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) [0m
|
487
|
-
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
488
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120823163756')[0m
|
489
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120815212612')
|
5
|
+
[1m[35m (0.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|