faalis 1.0.0.alpha3 → 1.0.0.alpha4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -4
- data/app/assets/javascripts/faalis/angular-manifest.js +1 -1
- data/app/assets/javascripts/faalis/dashboard/app.js +4 -4
- data/app/assets/javascripts/faalis/dashboard/controllers/group.js.coffee +1 -0
- data/app/assets/javascripts/faalis/dashboard/lib/api_result.js.coffee +5 -0
- data/app/assets/javascripts/faalis/dashboard/lib/fields/base.js.coffee +2 -0
- data/app/assets/javascripts/faalis/dashboard/lib/fields/has_many_field.js.coffee +27 -1
- data/app/assets/javascripts/faalis/dashboard/lib/resource.js.coffee +25 -2
- data/app/assets/javascripts/faalis/dashboard/modules/fields/#image.js# +3 -3
- data/app/assets/javascripts/faalis/dashboard/modules/fields/datetime.js +1 -3
- data/app/assets/javascripts/faalis/dashboard/resources/group_resource.js.coffee +3 -1
- data/app/assets/javascripts/faalis/dashboard/resources/permission_resource.js.coffee +4 -1
- data/app/assets/stylesheets/faalis/dashboard/ltr/application.css +9 -0
- data/app/assets/stylesheets/faalis/dashboard/rtl/application.css +2 -0
- data/app/controllers/faalis/dashboard_controller.rb +1 -0
- data/lib/faalis/fake_assets.rb +1 -0
- data/lib/faalis/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/{20150120211313_create_application_models.model_discovery_engine.rb → 20150121060012_create_application_models.model_discovery_engine.rb} +0 -0
- data/spec/dummy/db/schema.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +366 -783
- data/spec/dummy/log/test.log +11486 -3431
- metadata +84 -59
- data/app/assets/javascripts/faalis/dashboard/templates/application.handlebars.erb +0 -42
- data/app/assets/javascripts/faalis/dashboard/templates/auth/groups/details.handlebars.erb +0 -15
- data/app/assets/javascripts/faalis/dashboard/templates/auth/groups/index.handlebars.erb +0 -7
- data/app/assets/javascripts/faalis/dashboard/templates/auth/groups/new.handlebars.erb +0 -39
- data/app/assets/javascripts/faalis/dashboard/templates/auth/index.handlebars.erb +0 -31
- data/app/assets/javascripts/faalis/dashboard/templates/auth/users/details.handlebars.erb +0 -15
- data/app/assets/javascripts/faalis/dashboard/templates/auth/users/index.handlebars.erb +0 -11
- data/app/assets/javascripts/faalis/dashboard/templates/auth/users/new.handlebars.erb +0 -33
- data/app/assets/javascripts/faalis/dashboard/templates/components/list-view.handlebars.erb +0 -59
- data/app/assets/javascripts/faalis/dashboard/templates/components/model-form.handlebars.erb +0 -3
- data/app/assets/javascripts/faalis/dashboard/templates/modules.handlebars.erb +0 -15
- data/app/assets/javascripts/faalis/dashboard/templates/navigation.handlebars.erb +0 -43
- data/app/assets/javascripts/faalis/dashboard/templates/widgets.handlebars +0 -23
- data/app/controllers/faalis/#dashboard_controller.rb# +0 -65
- data/lib/faalis/generators/fields/#relation.rb# +0 -61
- data/spec/dummy/db/seeds.rb +0 -1
- data/spec/dummy/db/seeds.rb~ +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4142c1bbc7a9acf734840f8549f57bcbd1423197
|
4
|
+
data.tar.gz: 6bdc7be8afae5e8db1684a8e2034379f4528a3df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86bafa8c2f59fd59482bcbd6d92d69bdb5ff07346e3010c65817849a111976a4de6465331fc95e0ecafe40f9c76e4c0275328cf0ad942687cdf0a9164e943f37
|
7
|
+
data.tar.gz: a1e0aa9ebed472d454a21949bb712054f4744afc9b5c0248266eca7f37d4b9fd0a3ca499319a0294bade56b6738d415536febc0b89feff63ab414b74f504bfbd
|
data/README.md
CHANGED
@@ -57,14 +57,13 @@ For example (only if you want to change default layout):
|
|
57
57
|
```
|
58
58
|
|
59
59
|
* Perform `rails generate faalis:install_all` to copy necessary files.
|
60
|
-
* Add this to your `config/
|
60
|
+
* Add this to your `config/application.rb` :
|
61
61
|
|
62
62
|
```ruby
|
63
|
-
|
64
|
-
Faalis::Routes.define_api_routes
|
63
|
+
config.railties_order = [:main_app, Dashstrap::TemplateEngine, Faalis::Engine, :all]
|
65
64
|
```
|
66
65
|
|
67
|
-
* Perform `rake db:migrate` and enjoy Faalis
|
66
|
+
* Perform `rake db:migrate db:seed` and enjoy Faalis
|
68
67
|
|
69
68
|
> **NOTE**: You can specify the ORM you'd like to use in `config/initializers/faalis.rb`
|
70
69
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
//= require ngQuickDate/ng-quick-date
|
16
16
|
//= require select2/select2
|
17
17
|
//= require angular-ui-select2/select2
|
18
|
-
//= require flow
|
18
|
+
//= require flow.js/flow
|
19
19
|
//= require ng-flow
|
20
20
|
//= require faalis/dashboard/functions
|
21
21
|
//= require_tree ./dashboard/lib
|
@@ -23,12 +23,12 @@ Dashboard.config(["$stateProvider","$urlRouterProvider", "RestangularProvider",
|
|
23
23
|
}).state("home", {
|
24
24
|
url: "/",
|
25
25
|
templateUrl: template_url("index")
|
26
|
-
}).state("
|
27
|
-
url: "/403",
|
28
|
-
templateUrl: template_url("403")
|
29
|
-
}).state("permission_denied", {
|
26
|
+
}).state("not_found", {
|
30
27
|
url: "/404",
|
31
28
|
templateUrl: template_url("404")
|
29
|
+
}).state("permission_denied", {
|
30
|
+
url: "/403",
|
31
|
+
templateUrl: template_url("403")
|
32
32
|
});
|
33
33
|
|
34
34
|
$urlRouterProvider.otherwise('/404');
|
@@ -1,4 +1,30 @@
|
|
1
1
|
class Faalis.HasManyField extends Faalis.BaseField
|
2
2
|
type: 'has_many'
|
3
|
+
relation: true
|
3
4
|
|
4
|
-
|
5
|
+
# **Name**: The name of current field.
|
6
|
+
# **object**: Target resource object
|
7
|
+
constructor: (name, resource) ->
|
8
|
+
@name = name
|
9
|
+
@resource = resource
|
10
|
+
console.log(resource)
|
11
|
+
|
12
|
+
__init__: ->
|
13
|
+
console.log("<<<<<<<<<<<<<<<<")
|
14
|
+
console.log(this)
|
15
|
+
#console.log(@resource)
|
16
|
+
return
|
17
|
+
@resource = new @resource()
|
18
|
+
|
19
|
+
unless @resource.__init__?
|
20
|
+
throw "'" + @to + "' does not have '__init__' method."
|
21
|
+
|
22
|
+
Faalis.$injector.invoke(@resource.__init__, @resource)
|
23
|
+
|
24
|
+
|
25
|
+
# Fetch all the possible objects for current relation.
|
26
|
+
# for example if @object was Post resource, then it will
|
27
|
+
# fetch all the post from API
|
28
|
+
fetch_all_objects: ->
|
29
|
+
# --- This method should run after injection ---
|
30
|
+
return @object.all()
|
@@ -2,6 +2,12 @@
|
|
2
2
|
# and is responsible for representing a remote resource.
|
3
3
|
class Faalis.Resource
|
4
4
|
|
5
|
+
# This array hold all the fields which represent a relationship
|
6
|
+
# for current resource.
|
7
|
+
#
|
8
|
+
# for example `belongs_to` or `has_many` relationship
|
9
|
+
__relations__: []
|
10
|
+
|
5
11
|
# Arguments list:
|
6
12
|
# * **options**: Extra properties and attributes to add to the resource.
|
7
13
|
# All the key/value in this object will attached to the
|
@@ -23,7 +29,7 @@ class Faalis.Resource
|
|
23
29
|
api_prefix = this._api_prefix || '/api/v1/'
|
24
30
|
@API = new Faalis.APIFactory(this, type, api_prefix)
|
25
31
|
|
26
|
-
@
|
32
|
+
@__init__.$inject = ['$http', '$log', 'catch_error']
|
27
33
|
|
28
34
|
# Set the specific parents of current resource. This method should be called
|
29
35
|
# in controllers and before any use of `Resource` object. and the **parents**
|
@@ -46,7 +52,6 @@ class Faalis.Resource
|
|
46
52
|
__init__: ($http, $log, catch_error) ->
|
47
53
|
|
48
54
|
deps = window.STATIC_REQUIREMENTS.concat(window.dashboard_dependencies)
|
49
|
-
$injector = angular.injector(['ng', 'Errors', 'gettext'])
|
50
55
|
|
51
56
|
Faalis.$injector.invoke(@API.__init__, @API)
|
52
57
|
|
@@ -54,6 +59,9 @@ class Faalis.Resource
|
|
54
59
|
unless attr.__init__?
|
55
60
|
throw "'" + attr + "' does not have '__init__' method."
|
56
61
|
|
62
|
+
if attr.relation
|
63
|
+
@__relations__.push(attr)
|
64
|
+
|
57
65
|
# inject services for field classes.
|
58
66
|
Faalis.$injector.invoke(attr.__init__, attr)
|
59
67
|
|
@@ -145,3 +153,18 @@ class Faalis.Resource
|
|
145
153
|
# Destroy the resource with given id
|
146
154
|
destroy: (id) ->
|
147
155
|
return @API.destroy(id)
|
156
|
+
|
157
|
+
# Get All possible objects for current resource relations
|
158
|
+
get_all_relations: ->
|
159
|
+
# --- This method should run after injection ---
|
160
|
+
result_obj = {}
|
161
|
+
|
162
|
+
for relation in @__relations__
|
163
|
+
# relation would be a Field (or its children) Instance and
|
164
|
+
# relation.resource would be a Resource instance.
|
165
|
+
relation.fetch_all_objects().then( (result) ->
|
166
|
+
# Put the result promise in the result object
|
167
|
+
result_obj[relation.name] = result
|
168
|
+
)
|
169
|
+
|
170
|
+
return result_obj
|
@@ -12,16 +12,16 @@ Image_.directive('imageField',["gettext", "$parse", function(gettext, $parse){
|
|
12
12
|
|
13
13
|
function updateModel(event){
|
14
14
|
if(event.target && event.target.files){
|
15
|
-
var file = event.target.files[0];
|
15
|
+
var file = event.target.files[0];
|
16
16
|
var reader = new FileReader();
|
17
17
|
reader.onload = function(e){
|
18
18
|
var image = e.target.result;
|
19
19
|
console.log("IMAGE DATA: %s", image);
|
20
20
|
ngctrl.$setViewValue({filename: file.name,
|
21
|
-
|
21
|
+
image_data: image,
|
22
22
|
content_type: file.type});
|
23
23
|
ngctrl.$render();
|
24
|
-
|
24
|
+
|
25
25
|
};
|
26
26
|
reader.readAsDataURL(file);
|
27
27
|
}
|
@@ -32,8 +32,6 @@ Datetime_.directive('datetimeField', ["$filter", "gettext", function($filter, g
|
|
32
32
|
});
|
33
33
|
|
34
34
|
scope.$watch('fake_model', function(x, y) {
|
35
|
-
console.log('---------------');
|
36
|
-
console.log("%s -- %s", x , y);
|
37
35
|
});
|
38
36
|
}
|
39
37
|
// Actual object of <datetime-field> directive
|
@@ -44,7 +42,7 @@ Datetime_.directive('datetimeField', ["$filter", "gettext", function($filter, g
|
|
44
42
|
transclude: true,
|
45
43
|
scope: {
|
46
44
|
// disable timepicker
|
47
|
-
|
45
|
+
time: "=?",
|
48
46
|
|
49
47
|
cssClasses: '=cssClass',
|
50
48
|
// A call back to pass to field ng-change directive
|
@@ -1,4 +1,4 @@
|
|
1
|
-
class
|
1
|
+
class @GroupResource extends Faalis.Resource
|
2
2
|
|
3
3
|
__name__: 'group'
|
4
4
|
|
@@ -6,3 +6,5 @@ class Faalis.GroupResource extends Faalis.Resource
|
|
6
6
|
new Faalis.StringField('title'),
|
7
7
|
new Faalis.HasManyField('permissions', Faalis.PermissionResource)
|
8
8
|
]
|
9
|
+
|
10
|
+
Faalis.GroupResource = @GroupResource
|
data/lib/faalis/fake_assets.rb
CHANGED
@@ -4,6 +4,7 @@ require 'rails-assets-restangular'
|
|
4
4
|
require 'rails-assets-ngQuickDate'
|
5
5
|
require 'rails-assets-select2'
|
6
6
|
require 'rails-assets-angular-ui-select2'
|
7
|
+
require 'rails-assets-flow.js'
|
7
8
|
require 'rails-assets-ng-flow'
|
8
9
|
require 'rails-assets-angular-ui-router'
|
9
10
|
require 'rails-assets-sugar'
|
data/lib/faalis/version.rb
CHANGED
Binary file
|
File without changes
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20150121060012) do
|
15
15
|
|
16
16
|
create_table "application_models", force: :cascade do |t|
|
17
17
|
t.string "model"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,494 +1,9 @@
|
|
1
|
-
[1m[36m (125.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
-
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (106.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
-
Migrating to DeviseCreateFaalisUsers (20131013091000)
|
6
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "faalis_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "group_id" integer DEFAULT 2, "failed_attempts" integer DEFAULT 0, "unlock_token" varchar(255), "locked_at" datetime, "created_at" datetime, "updated_at" datetime)
|
8
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_email" ON "faalis_users" ("email")[0m
|
9
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
10
|
-
FROM sqlite_master
|
11
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
12
|
-
UNION ALL
|
13
|
-
SELECT sql
|
14
|
-
FROM sqlite_temp_master
|
15
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
16
|
-
|
17
|
-
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_reset_password_token" ON "faalis_users" ("reset_password_token")[0m
|
18
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
19
|
-
FROM sqlite_master
|
20
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
21
|
-
UNION ALL
|
22
|
-
SELECT sql
|
23
|
-
FROM sqlite_temp_master
|
24
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
25
|
-
|
26
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
27
|
-
FROM sqlite_master
|
28
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
29
|
-
UNION ALL
|
30
|
-
SELECT sql
|
31
|
-
FROM sqlite_temp_master
|
32
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
33
|
-
[0m
|
34
|
-
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_unlock_token" ON "faalis_users" ("unlock_token")
|
35
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131013091000"]]
|
36
|
-
[1m[35m (90.2ms)[0m commit transaction
|
37
|
-
Migrating to CreateFaalisGroups (20131020124701)
|
38
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "faalis_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
40
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131020124701"]]
|
41
|
-
[1m[35m (89.6ms)[0m commit transaction
|
42
|
-
Migrating to CreateFaalisPermissions (20131021170923)
|
43
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "faalis_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar(255), "permission_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
45
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131021170923"]]
|
46
|
-
[1m[35m (89.9ms)[0m commit transaction
|
47
|
-
Migrating to AddPermissionsGroupsTable (20131123120422)
|
48
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "faalis_groups_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permission_id" integer, "group_id" integer)
|
50
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131123120422"]]
|
51
|
-
[1m[35m (131.5ms)[0m commit transaction
|
52
|
-
Migrating to AddUsersGroupsTable (20140613120923)
|
53
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "faalis_groups_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer)
|
55
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140613120923"]]
|
56
|
-
[1m[35m (114.8ms)[0m commit transaction
|
57
|
-
Migrating to FaalisGroupsUsers (20140617124019)
|
58
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
59
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140617124019"]]
|
60
|
-
[1m[36m (115.5ms)[0m [1mcommit transaction[0m
|
61
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
62
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
63
|
-
FROM sqlite_master
|
64
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
65
|
-
UNION ALL
|
66
|
-
SELECT sql
|
67
|
-
FROM sqlite_temp_master
|
68
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
69
|
-
[0m
|
70
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
71
|
-
FROM sqlite_master
|
72
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
73
|
-
UNION ALL
|
74
|
-
SELECT sql
|
75
|
-
FROM sqlite_temp_master
|
76
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
77
|
-
|
78
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
79
|
-
FROM sqlite_master
|
80
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
81
|
-
UNION ALL
|
82
|
-
SELECT sql
|
83
|
-
FROM sqlite_temp_master
|
84
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
85
|
-
[0m
|
86
|
-
[1m[36m (125.9ms)[0m [1mCREATE TABLE "faalis_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
87
|
-
[1m[35m (116.3ms)[0m CREATE TABLE "faalis_groups_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permission_id" integer, "group_id" integer)
|
88
|
-
[1m[36m (126.3ms)[0m [1mCREATE TABLE "faalis_groups_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer) [0m
|
89
|
-
[1m[35m (108.1ms)[0m CREATE TABLE "faalis_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar(255), "permission_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
90
|
-
[1m[36m (89.4ms)[0m [1mCREATE TABLE "faalis_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "group_id" integer DEFAULT 2, "failed_attempts" integer DEFAULT 0, "unlock_token" varchar(255), "locked_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
91
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
92
|
-
[1m[36m (91.4ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_email" ON "faalis_users" ("email")[0m
|
93
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
94
|
-
FROM sqlite_master
|
95
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
96
|
-
UNION ALL
|
97
|
-
SELECT sql
|
98
|
-
FROM sqlite_temp_master
|
99
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
100
|
-
|
101
|
-
[1m[36m (82.9ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_reset_password_token" ON "faalis_users" ("reset_password_token")[0m
|
102
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
103
|
-
FROM sqlite_master
|
104
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
105
|
-
UNION ALL
|
106
|
-
SELECT sql
|
107
|
-
FROM sqlite_temp_master
|
108
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
109
|
-
|
110
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
111
|
-
FROM sqlite_master
|
112
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
113
|
-
UNION ALL
|
114
|
-
SELECT sql
|
115
|
-
FROM sqlite_temp_master
|
116
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
117
|
-
[0m
|
118
|
-
[1m[35m (99.5ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_unlock_token" ON "faalis_users" ("unlock_token")
|
119
|
-
[1m[36m (98.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
120
|
-
[1m[35m (100.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
121
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
122
|
-
[1m[35m (116.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140617124019')
|
123
|
-
[1m[36m (100.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140613120923')[0m
|
124
|
-
[1m[35m (117.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131021170923')
|
125
|
-
[1m[36m (100.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131123120422')[0m
|
126
|
-
[1m[35m (117.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131020124701')
|
127
|
-
[1m[36m (116.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131013091000')[0m
|
128
|
-
[1m[36m (145.2ms)[0m [1mCREATE TABLE "faalis_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
129
|
-
[1m[35m (124.6ms)[0m CREATE TABLE "faalis_groups_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permission_id" integer, "group_id" integer)
|
130
|
-
[1m[36m (116.5ms)[0m [1mCREATE TABLE "faalis_groups_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer) [0m
|
131
|
-
[1m[35m (149.6ms)[0m CREATE TABLE "faalis_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar(255), "permission_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
132
|
-
[1m[36m (248.0ms)[0m [1mCREATE TABLE "faalis_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "group_id" integer DEFAULT 2, "failed_attempts" integer DEFAULT 0, "unlock_token" varchar(255), "locked_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
133
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
134
|
-
[1m[36m (91.4ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_email" ON "faalis_users" ("email")[0m
|
135
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
136
|
-
FROM sqlite_master
|
137
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
138
|
-
UNION ALL
|
139
|
-
SELECT sql
|
140
|
-
FROM sqlite_temp_master
|
141
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
142
|
-
|
143
|
-
[1m[36m (107.9ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_reset_password_token" ON "faalis_users" ("reset_password_token")[0m
|
144
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
145
|
-
FROM sqlite_master
|
146
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
147
|
-
UNION ALL
|
148
|
-
SELECT sql
|
149
|
-
FROM sqlite_temp_master
|
150
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
151
|
-
|
152
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
153
|
-
FROM sqlite_master
|
154
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
155
|
-
UNION ALL
|
156
|
-
SELECT sql
|
157
|
-
FROM sqlite_temp_master
|
158
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
159
|
-
[0m
|
160
|
-
[1m[35m (107.7ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_unlock_token" ON "faalis_users" ("unlock_token")
|
161
|
-
[1m[36m (90.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
162
|
-
[1m[35m (99.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
163
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
164
|
-
[1m[35m (91.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140617124019')
|
165
|
-
[1m[36m (116.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140613120923')[0m
|
166
|
-
[1m[35m (150.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131021170923')
|
167
|
-
[1m[36m (142.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131123120422')[0m
|
168
|
-
[1m[35m (118.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131020124701')
|
169
|
-
[1m[36m (108.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131013091000')[0m
|
170
|
-
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
171
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
172
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
173
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
174
|
-
FROM sqlite_master
|
175
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
176
|
-
UNION ALL
|
177
|
-
SELECT sql
|
178
|
-
FROM sqlite_temp_master
|
179
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
180
|
-
[0m
|
181
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
182
|
-
FROM sqlite_master
|
183
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
184
|
-
UNION ALL
|
185
|
-
SELECT sql
|
186
|
-
FROM sqlite_temp_master
|
187
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
188
|
-
|
189
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
190
|
-
FROM sqlite_master
|
191
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
192
|
-
UNION ALL
|
193
|
-
SELECT sql
|
194
|
-
FROM sqlite_temp_master
|
195
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
196
|
-
[0m
|
197
|
-
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
198
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
199
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
200
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
201
|
-
FROM sqlite_master
|
202
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
203
|
-
UNION ALL
|
204
|
-
SELECT sql
|
205
|
-
FROM sqlite_temp_master
|
206
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
207
|
-
[0m
|
208
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
209
|
-
FROM sqlite_master
|
210
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
211
|
-
UNION ALL
|
212
|
-
SELECT sql
|
213
|
-
FROM sqlite_temp_master
|
214
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
215
|
-
|
216
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
217
|
-
FROM sqlite_master
|
218
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
219
|
-
UNION ALL
|
220
|
-
SELECT sql
|
221
|
-
FROM sqlite_temp_master
|
222
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
223
|
-
[0m
|
224
|
-
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
225
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
226
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
227
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
228
|
-
FROM sqlite_master
|
229
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
230
|
-
UNION ALL
|
231
|
-
SELECT sql
|
232
|
-
FROM sqlite_temp_master
|
233
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
234
|
-
[0m
|
235
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
236
|
-
FROM sqlite_master
|
237
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
238
|
-
UNION ALL
|
239
|
-
SELECT sql
|
240
|
-
FROM sqlite_temp_master
|
241
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
242
|
-
|
243
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
244
|
-
FROM sqlite_master
|
245
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
246
|
-
UNION ALL
|
247
|
-
SELECT sql
|
248
|
-
FROM sqlite_temp_master
|
249
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
250
|
-
[0m
|
251
|
-
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
252
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
253
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
254
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
255
|
-
FROM sqlite_master
|
256
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
257
|
-
UNION ALL
|
258
|
-
SELECT sql
|
259
|
-
FROM sqlite_temp_master
|
260
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
261
|
-
[0m
|
262
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
263
|
-
FROM sqlite_master
|
264
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
265
|
-
UNION ALL
|
266
|
-
SELECT sql
|
267
|
-
FROM sqlite_temp_master
|
268
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
269
|
-
|
270
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
271
|
-
FROM sqlite_master
|
272
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
273
|
-
UNION ALL
|
274
|
-
SELECT sql
|
275
|
-
FROM sqlite_temp_master
|
276
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
277
|
-
[0m
|
278
|
-
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
279
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
280
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
281
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
282
|
-
FROM sqlite_master
|
283
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
284
|
-
UNION ALL
|
285
|
-
SELECT sql
|
286
|
-
FROM sqlite_temp_master
|
287
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
288
|
-
[0m
|
289
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
290
|
-
FROM sqlite_master
|
291
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
292
|
-
UNION ALL
|
293
|
-
SELECT sql
|
294
|
-
FROM sqlite_temp_master
|
295
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
296
|
-
|
297
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
298
|
-
FROM sqlite_master
|
299
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
300
|
-
UNION ALL
|
301
|
-
SELECT sql
|
302
|
-
FROM sqlite_temp_master
|
303
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
304
|
-
[0m
|
305
|
-
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
306
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
307
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
308
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
309
|
-
FROM sqlite_master
|
310
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
311
|
-
UNION ALL
|
312
|
-
SELECT sql
|
313
|
-
FROM sqlite_temp_master
|
314
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
315
|
-
[0m
|
316
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
317
|
-
FROM sqlite_master
|
318
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
319
|
-
UNION ALL
|
320
|
-
SELECT sql
|
321
|
-
FROM sqlite_temp_master
|
322
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
323
|
-
|
324
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
325
|
-
FROM sqlite_master
|
326
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
327
|
-
UNION ALL
|
328
|
-
SELECT sql
|
329
|
-
FROM sqlite_temp_master
|
330
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
331
|
-
[0m
|
332
|
-
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
333
|
-
[1m[36m (146.6ms)[0m [1mCREATE TABLE "faalis_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
334
|
-
[1m[35m (108.1ms)[0m CREATE TABLE "faalis_groups_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permission_id" integer, "group_id" integer)
|
335
|
-
[1m[36m (153.0ms)[0m [1mCREATE TABLE "faalis_groups_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer) [0m
|
336
|
-
[1m[35m (105.5ms)[0m CREATE TABLE "faalis_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar(255), "permission_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
337
|
-
[1m[36m (105.4ms)[0m [1mCREATE TABLE "faalis_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "group_id" integer DEFAULT 2, "failed_attempts" integer DEFAULT 0, "unlock_token" varchar(255), "locked_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
338
|
-
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
339
|
-
[1m[36m (109.0ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_email" ON "faalis_users" ("email")[0m
|
340
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
341
|
-
FROM sqlite_master
|
342
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
343
|
-
UNION ALL
|
344
|
-
SELECT sql
|
345
|
-
FROM sqlite_temp_master
|
346
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
347
|
-
|
348
|
-
[1m[36m (99.4ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_reset_password_token" ON "faalis_users" ("reset_password_token")[0m
|
349
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
350
|
-
FROM sqlite_master
|
351
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
352
|
-
UNION ALL
|
353
|
-
SELECT sql
|
354
|
-
FROM sqlite_temp_master
|
355
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
356
|
-
|
357
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
358
|
-
FROM sqlite_master
|
359
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
360
|
-
UNION ALL
|
361
|
-
SELECT sql
|
362
|
-
FROM sqlite_temp_master
|
363
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
364
|
-
[0m
|
365
|
-
[1m[35m (99.3ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_unlock_token" ON "faalis_users" ("unlock_token")
|
366
|
-
[1m[36m (114.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
367
|
-
[1m[35m (108.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
368
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
369
|
-
[1m[35m (108.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140617124019')
|
370
|
-
[1m[36m (129.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140613120923')[0m
|
371
|
-
[1m[35m (120.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131021170923')
|
372
|
-
[1m[36m (133.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131123120422')[0m
|
373
|
-
[1m[35m (108.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131020124701')
|
374
|
-
[1m[36m (108.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131013091000')[0m
|
375
|
-
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
376
|
-
[1m[36m (142.2ms)[0m [1mCREATE TABLE "faalis_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
377
|
-
[1m[35m (132.9ms)[0m CREATE TABLE "faalis_groups_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permission_id" integer, "group_id" integer)
|
378
|
-
[1m[36m (125.0ms)[0m [1mCREATE TABLE "faalis_groups_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer) [0m
|
379
|
-
[1m[35m (116.3ms)[0m CREATE TABLE "faalis_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar(255), "permission_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
380
|
-
[1m[36m (132.1ms)[0m [1mCREATE TABLE "faalis_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "group_id" integer DEFAULT 2, "failed_attempts" integer DEFAULT 0, "unlock_token" varchar(255), "locked_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
381
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
382
|
-
[1m[36m (147.6ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_email" ON "faalis_users" ("email")[0m
|
383
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
384
|
-
FROM sqlite_master
|
385
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
386
|
-
UNION ALL
|
387
|
-
SELECT sql
|
388
|
-
FROM sqlite_temp_master
|
389
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
390
|
-
|
391
|
-
[1m[36m (99.4ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_reset_password_token" ON "faalis_users" ("reset_password_token")[0m
|
392
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
393
|
-
FROM sqlite_master
|
394
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
395
|
-
UNION ALL
|
396
|
-
SELECT sql
|
397
|
-
FROM sqlite_temp_master
|
398
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
399
|
-
|
400
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
401
|
-
FROM sqlite_master
|
402
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
403
|
-
UNION ALL
|
404
|
-
SELECT sql
|
405
|
-
FROM sqlite_temp_master
|
406
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
407
|
-
[0m
|
408
|
-
[1m[35m (115.9ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_unlock_token" ON "faalis_users" ("unlock_token")
|
409
|
-
[1m[36m (98.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
410
|
-
[1m[35m (99.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
411
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
412
|
-
[1m[35m (99.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140617124019')
|
413
|
-
[1m[36m (100.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140613120923')[0m
|
414
|
-
[1m[35m (116.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131021170923')
|
415
|
-
[1m[36m (150.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131123120422')[0m
|
416
|
-
[1m[35m (108.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131020124701')
|
417
|
-
[1m[36m (108.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131013091000')[0m
|
418
|
-
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
419
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
420
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
421
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
422
|
-
FROM sqlite_master
|
423
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
424
|
-
UNION ALL
|
425
|
-
SELECT sql
|
426
|
-
FROM sqlite_temp_master
|
427
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
428
|
-
[0m
|
429
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
430
|
-
FROM sqlite_master
|
431
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
432
|
-
UNION ALL
|
433
|
-
SELECT sql
|
434
|
-
FROM sqlite_temp_master
|
435
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
436
|
-
|
437
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
438
|
-
FROM sqlite_master
|
439
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
440
|
-
UNION ALL
|
441
|
-
SELECT sql
|
442
|
-
FROM sqlite_temp_master
|
443
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
444
|
-
[0m
|
445
1
|
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
446
|
-
[1m[36m (115.2ms)[0m [1mCREATE TABLE "faalis_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
447
|
-
[1m[35m (124.7ms)[0m CREATE TABLE "faalis_groups_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permission_id" integer, "group_id" integer)
|
448
|
-
[1m[36m (108.2ms)[0m [1mCREATE TABLE "faalis_groups_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer) [0m
|
449
|
-
[1m[35m (108.2ms)[0m CREATE TABLE "faalis_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar(255), "permission_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
450
|
-
[1m[36m (105.3ms)[0m [1mCREATE TABLE "faalis_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "group_id" integer DEFAULT 2, "failed_attempts" integer DEFAULT 0, "unlock_token" varchar(255), "locked_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
451
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
452
|
-
[1m[36m (107.8ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_email" ON "faalis_users" ("email")[0m
|
453
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
454
|
-
FROM sqlite_master
|
455
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
456
|
-
UNION ALL
|
457
|
-
SELECT sql
|
458
|
-
FROM sqlite_temp_master
|
459
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
460
|
-
|
461
|
-
[1m[36m (174.2ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_reset_password_token" ON "faalis_users" ("reset_password_token")[0m
|
462
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
463
|
-
FROM sqlite_master
|
464
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
465
|
-
UNION ALL
|
466
|
-
SELECT sql
|
467
|
-
FROM sqlite_temp_master
|
468
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
469
|
-
|
470
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
471
|
-
FROM sqlite_master
|
472
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
473
|
-
UNION ALL
|
474
|
-
SELECT sql
|
475
|
-
FROM sqlite_temp_master
|
476
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
477
|
-
[0m
|
478
|
-
[1m[35m (125.5ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_unlock_token" ON "faalis_users" ("unlock_token")
|
479
|
-
[1m[36m (106.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
480
|
-
[1m[35m (116.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
481
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
482
|
-
[1m[35m (116.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140617124019')
|
483
|
-
[1m[36m (116.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140613120923')[0m
|
484
|
-
[1m[35m (116.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131021170923')
|
485
|
-
[1m[36m (133.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131123120422')[0m
|
486
|
-
[1m[35m (150.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131020124701')
|
487
|
-
[1m[36m (116.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131013091000')[0m
|
488
2
|
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
489
|
-
|
490
|
-
[1m[
|
491
|
-
[1m[
|
3
|
+
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
4
|
+
[1m[36m (189.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
5
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
6
|
+
[1m[36m (139.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
492
7
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
493
8
|
Migrating to DeviseCreateFaalisUsers (20131013091000)
|
494
9
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
@@ -521,35 +36,41 @@ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `n
|
|
521
36
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
522
37
|
[0m
|
523
38
|
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_unlock_token" ON "faalis_users" ("unlock_token")
|
524
|
-
[1m[36mSQL (0.
|
525
|
-
[1m[35m (
|
39
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131013091000"]]
|
40
|
+
[1m[35m (146.0ms)[0m commit transaction
|
526
41
|
Migrating to CreateFaalisGroups (20131020124701)
|
527
42
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
528
43
|
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/lxsameer/src/Yellowen/Faalis/db/migrate/20131020124701_create_faalis_groups.rb:7)
|
529
|
-
[1m[35m (0.
|
530
|
-
[1m[36mSQL (0.
|
531
|
-
[1m[35m (
|
44
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "faalis_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "role" varchar, "created_at" datetime, "updated_at" datetime)
|
45
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131020124701"]]
|
46
|
+
[1m[35m (128.3ms)[0m commit transaction
|
532
47
|
Migrating to CreateFaalisPermissions (20131021170923)
|
533
48
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
534
49
|
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/lxsameer/src/Yellowen/Faalis/db/migrate/20131021170923_create_faalis_permissions.rb:7)
|
535
|
-
[1m[35m (0.
|
536
|
-
[1m[36mSQL (0.
|
537
|
-
[1m[35m (
|
50
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "faalis_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar, "permission_type" varchar, "created_at" datetime, "updated_at" datetime)
|
51
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131021170923"]]
|
52
|
+
[1m[35m (127.7ms)[0m commit transaction
|
538
53
|
Migrating to AddPermissionsGroupsTable (20131123120422)
|
539
54
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
540
|
-
[1m[35m (0.
|
55
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "faalis_groups_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permission_id" integer, "group_id" integer)
|
541
56
|
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131123120422"]]
|
542
|
-
[1m[35m (
|
57
|
+
[1m[35m (121.5ms)[0m commit transaction
|
543
58
|
Migrating to AddUsersGroupsTable (20140613120923)
|
544
59
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
545
|
-
[1m[35m (0.
|
546
|
-
[1m[36mSQL (0.
|
547
|
-
[1m[35m (
|
60
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "faalis_groups_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer)
|
61
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140613120923"]]
|
62
|
+
[1m[35m (120.7ms)[0m commit transaction
|
548
63
|
Migrating to FaalisGroupsUsers (20140617124019)
|
549
64
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
550
|
-
[1m[35mSQL (0.
|
551
|
-
[1m[36m (
|
552
|
-
|
65
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140617124019"]]
|
66
|
+
[1m[36m (122.1ms)[0m [1mcommit transaction[0m
|
67
|
+
Migrating to CreateApplicationModels (20150121060012)
|
68
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69
|
+
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/lxsameer/src/Yellowen/Faalis/spec/dummy/db/migrate/20150121060012_create_application_models.model_discovery_engine.rb:7)
|
70
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "application_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
71
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150121060012"]]
|
72
|
+
[1m[36m (121.6ms)[0m [1mcommit transaction[0m
|
73
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
553
74
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
554
75
|
FROM sqlite_master
|
555
76
|
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
@@ -575,31 +96,15 @@ Migrating to FaalisGroupsUsers (20140617124019)
|
|
575
96
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
576
97
|
[0m
|
577
98
|
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
578
|
-
[1m[36m (
|
579
|
-
[1m[35m (
|
580
|
-
[1m[36m (
|
581
|
-
[1m[35m (
|
582
|
-
[1m[36m (
|
583
|
-
[1m[35m (
|
584
|
-
[1m[36m (
|
585
|
-
[1m[35m (
|
586
|
-
|
587
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
588
|
-
UNION ALL
|
589
|
-
SELECT sql
|
590
|
-
FROM sqlite_temp_master
|
591
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
592
|
-
|
593
|
-
[1m[36m (77.7ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_reset_password_token" ON "faalis_users" ("reset_password_token")[0m
|
594
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
595
|
-
FROM sqlite_master
|
596
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
597
|
-
UNION ALL
|
598
|
-
SELECT sql
|
599
|
-
FROM sqlite_temp_master
|
600
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
601
|
-
|
602
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
99
|
+
[1m[36m (141.8ms)[0m [1mCREATE TABLE "application_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
100
|
+
[1m[35m (123.5ms)[0m CREATE TABLE "faalis_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "role" varchar, "created_at" datetime, "updated_at" datetime)
|
101
|
+
[1m[36m (123.5ms)[0m [1mCREATE TABLE "faalis_groups_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permission_id" integer, "group_id" integer) [0m
|
102
|
+
[1m[35m (124.0ms)[0m CREATE TABLE "faalis_groups_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer)
|
103
|
+
[1m[36m (123.7ms)[0m [1mCREATE TABLE "faalis_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar, "permission_type" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
104
|
+
[1m[35m (142.9ms)[0m CREATE TABLE "faalis_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "first_name" varchar, "last_name" varchar, "group_id" integer DEFAULT 2, "failed_attempts" integer DEFAULT 0, "unlock_token" varchar, "locked_at" datetime, "created_at" datetime, "updated_at" datetime)
|
105
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
106
|
+
[1m[35m (131.2ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_email" ON "faalis_users" ("email")
|
107
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
603
108
|
FROM sqlite_master
|
604
109
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
605
110
|
UNION ALL
|
@@ -607,29 +112,8 @@ DEPRECATION WARNING: Defining a route where `to` is a controller without an acti
|
|
607
112
|
FROM sqlite_temp_master
|
608
113
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
609
114
|
[0m
|
610
|
-
[1m[35m (
|
611
|
-
[1m[36m (
|
612
|
-
[1m[35m (99.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
613
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
614
|
-
[1m[35m (100.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140617124019')
|
615
|
-
[1m[36m (100.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140613120923')[0m
|
616
|
-
[1m[35m (100.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131021170923')
|
617
|
-
[1m[36m (100.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131123120422')[0m
|
618
|
-
[1m[35m (142.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131020124701')
|
619
|
-
[1m[36m (100.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131013091000')[0m
|
620
|
-
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
621
|
-
[1m[36mFaalis::User Load (0.2ms)[0m [1mSELECT "faalis_users".* FROM "faalis_users" ORDER BY "faalis_users"."id" ASC LIMIT 1[0m
|
622
|
-
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
623
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
624
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
625
|
-
FROM sqlite_master
|
626
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
627
|
-
UNION ALL
|
628
|
-
SELECT sql
|
629
|
-
FROM sqlite_temp_master
|
630
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
631
|
-
|
632
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
115
|
+
[1m[35m (131.4ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_reset_password_token" ON "faalis_users" ("reset_password_token")
|
116
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
633
117
|
FROM sqlite_master
|
634
118
|
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
635
119
|
UNION ALL
|
@@ -637,7 +121,7 @@ DEPRECATION WARNING: Defining a route where `to` is a controller without an acti
|
|
637
121
|
FROM sqlite_temp_master
|
638
122
|
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
639
123
|
[0m
|
640
|
-
[1m[35m (0.
|
124
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
641
125
|
FROM sqlite_master
|
642
126
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
643
127
|
UNION ALL
|
@@ -645,170 +129,108 @@ DEPRECATION WARNING: Defining a route where `to` is a controller without an acti
|
|
645
129
|
FROM sqlite_temp_master
|
646
130
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
647
131
|
|
132
|
+
[1m[36m (147.6ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_unlock_token" ON "faalis_users" ("unlock_token")[0m
|
133
|
+
[1m[35m (128.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
134
|
+
[1m[36m (123.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
135
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
136
|
+
[1m[36m (125.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150121060012')[0m
|
137
|
+
[1m[35m (124.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131020124701')
|
138
|
+
[1m[36m (124.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131021170923')[0m
|
139
|
+
[1m[35m (149.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140617124019')
|
140
|
+
[1m[36m (124.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131123120422')[0m
|
141
|
+
[1m[35m (141.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140613120923')
|
142
|
+
[1m[36m (140.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131013091000')[0m
|
648
143
|
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
649
|
-
[1m[
|
144
|
+
[1m[36mFaalis::User Load (0.4ms)[0m [1mSELECT "faalis_users".* FROM "faalis_users" ORDER BY "faalis_users"."id" ASC LIMIT 1[0m
|
145
|
+
[1m[35m (0.2ms)[0m begin transaction
|
146
|
+
[1m[36mFaalis::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "faalis_users" WHERE "faalis_users"."email" = 'asdasd@asdasd.cc' LIMIT 1[0m
|
147
|
+
[1m[35mFaalis::Group Load (0.2ms)[0m SELECT "faalis_groups".* FROM "faalis_groups" WHERE "faalis_groups"."role" = ? LIMIT 1 [["role", "guest"]]
|
148
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
149
|
+
[1m[35m (0.1ms)[0m begin transaction
|
150
|
+
[1m[36mFaalis::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "faalis_users" WHERE "faalis_users"."email" = 'asdasd@asdasd.cc' LIMIT 1[0m
|
151
|
+
[1m[35mFaalis::Group Load (0.1ms)[0m SELECT "faalis_groups".* FROM "faalis_groups" WHERE "faalis_groups"."role" = ? LIMIT 1 [["role", "guest"]]
|
152
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
650
153
|
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
651
|
-
[1m[
|
154
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
155
|
+
[1m[35mFaalis::User Exists (0.2ms)[0m SELECT 1 AS one FROM "faalis_users" WHERE "faalis_users"."email" = 'asda@asd.cc' LIMIT 1
|
156
|
+
[1m[36mFaalis::Group Load (0.2ms)[0m [1mSELECT "faalis_groups".* FROM "faalis_groups" WHERE "faalis_groups"."name" = ? AND "faalis_groups"."role" = ? LIMIT 1[0m [["name", "Guest"], ["role", "guest"]]
|
157
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "faalis_groups" ("name", "role", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Guest"], ["role", "guest"], ["created_at", "2015-01-21 13:31:12.274306"], ["updated_at", "2015-01-21 13:31:12.274306"]]
|
158
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "faalis_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "asda@asd.cc"], ["encrypted_password", "$2a$10$lB2PRQiRcQksZx2NFUg9JuWwKiMEG2kuLPJYWssCSyuC.uN24OLSC"], ["created_at", "2015-01-21 13:31:12.220496"], ["updated_at", "2015-01-21 13:31:12.220496"]]
|
159
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "faalis_groups_users" ("group_id", "user_id") VALUES (?, ?) [["group_id", 1], ["user_id", 1]]
|
160
|
+
[1m[36m (172.1ms)[0m [1mcommit transaction[0m
|
652
161
|
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
653
|
-
[1m[
|
162
|
+
[1m[36mFaalis::User Load (0.3ms)[0m [1mSELECT "faalis_users".* FROM "faalis_users" ORDER BY "faalis_users"."id" ASC LIMIT 1[0m
|
163
|
+
[1m[35mFaalis::Group Load (0.3ms)[0m SELECT "faalis_groups".* FROM "faalis_groups" INNER JOIN "faalis_groups_users" ON "faalis_groups"."id" = "faalis_groups_users"."group_id" WHERE "faalis_groups_users"."user_id" = ? [["user_id", 1]]
|
164
|
+
[1m[36mFaalis::User Load (0.6ms)[0m [1mSELECT "faalis_users".* FROM "faalis_users" ORDER BY "faalis_users"."id" DESC LIMIT 1[0m
|
165
|
+
[1m[35mFaalis::Group Load (0.2ms)[0m SELECT "faalis_groups".* FROM "faalis_groups" INNER JOIN "faalis_groups_users" ON "faalis_groups"."id" = "faalis_groups_users"."group_id" WHERE "faalis_groups_users"."user_id" = ? [["user_id", 1]]
|
654
166
|
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
655
|
-
[1m[36m (115.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
656
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
657
|
-
[1m[36m (101.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
658
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
659
|
-
Migrating to CreateApplicationModels (20150120211313)
|
660
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
661
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/lxsameer/src/Yellowen/Faalis/spec/dummy/db/migrate/20150120211313_create_application_models.model_discovery_engine.rb:7)
|
662
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "application_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar, "created_at" datetime, "updated_at" datetime)
|
663
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150120211313"]]
|
664
|
-
[1m[35m (103.0ms)[0m commit transaction
|
665
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
666
167
|
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
667
|
-
[1m[
|
668
|
-
[1m[35m (0.1ms)[0m
|
669
|
-
[1m[
|
670
|
-
[1m[
|
671
|
-
|
168
|
+
[1m[36mApplicationModels Load (0.3ms)[0m [1mSELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1[0m [["model", "Faalis::User"]]
|
169
|
+
[1m[35m (0.1ms)[0m begin transaction
|
170
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "application_models" ("model", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["model", "Faalis::User"], ["created_at", "2015-01-24 23:11:46.825834"], ["updated_at", "2015-01-24 23:11:46.825834"]]
|
171
|
+
[1m[35m (180.7ms)[0m commit transaction
|
172
|
+
[1m[36mApplicationModels Load (0.2ms)[0m [1mSELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1[0m [["model", "Faalis::Group"]]
|
173
|
+
[1m[35m (0.1ms)[0m begin transaction
|
174
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "application_models" ("model", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["model", "Faalis::Group"], ["created_at", "2015-01-24 23:11:47.011680"], ["updated_at", "2015-01-24 23:11:47.011680"]]
|
175
|
+
[1m[35m (144.7ms)[0m commit transaction
|
176
|
+
[1m[36mApplicationModels Load (0.2ms)[0m [1mSELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1[0m [["model", "Faalis::Permission"]]
|
177
|
+
[1m[35m (0.2ms)[0m begin transaction
|
178
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "application_models" ("model", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["model", "Faalis::Permission"], ["created_at", "2015-01-24 23:11:47.161645"], ["updated_at", "2015-01-24 23:11:47.161645"]]
|
179
|
+
[1m[35m (111.8ms)[0m commit transaction
|
180
|
+
[1m[36mApplicationModels Load (0.3ms)[0m [1mSELECT "application_models".* FROM "application_models"[0m
|
181
|
+
[1m[35mFaalis::Permission Load (14.5ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
672
182
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
673
|
-
|
674
|
-
[1m[
|
675
|
-
[1m[
|
676
|
-
[1m[
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_reset_password_token" ON "faalis_users" ("reset_password_token")[0m
|
685
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
686
|
-
FROM sqlite_master
|
687
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
688
|
-
UNION ALL
|
689
|
-
SELECT sql
|
690
|
-
FROM sqlite_temp_master
|
691
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
692
|
-
|
693
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
694
|
-
FROM sqlite_master
|
695
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
696
|
-
UNION ALL
|
697
|
-
SELECT sql
|
698
|
-
FROM sqlite_temp_master
|
699
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
700
|
-
[0m
|
701
|
-
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_unlock_token" ON "faalis_users" ("unlock_token")
|
702
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131013091000"]]
|
703
|
-
[1m[35m (99.3ms)[0m commit transaction
|
704
|
-
Migrating to CreateFaalisGroups (20131020124701)
|
183
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::User"], ["permission_type", "read"], ["created_at", "2015-01-24 23:11:47.302658"], ["updated_at", "2015-01-24 23:11:47.302658"]]
|
184
|
+
[1m[36m (153.2ms)[0m [1mcommit transaction[0m
|
185
|
+
[1m[35mFaalis::Permission Load (0.3ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
186
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
187
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::User"], ["permission_type", "update"], ["created_at", "2015-01-24 23:11:47.461803"], ["updated_at", "2015-01-24 23:11:47.461803"]]
|
188
|
+
[1m[36m (126.0ms)[0m [1mcommit transaction[0m
|
189
|
+
[1m[35mFaalis::Permission Load (0.4ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
190
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
191
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::User"], ["permission_type", "create"], ["created_at", "2015-01-24 23:11:47.593834"], ["updated_at", "2015-01-24 23:11:47.593834"]]
|
192
|
+
[1m[36m (153.2ms)[0m [1mcommit transaction[0m
|
193
|
+
[1m[35mFaalis::Permission Load (0.4ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
705
194
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
706
|
-
|
707
|
-
[1m[
|
708
|
-
[1m[
|
709
|
-
[1m[35m (122.7ms)[0m commit transaction
|
710
|
-
Migrating to CreateFaalisPermissions (20131021170923)
|
195
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::User"], ["permission_type", "destroy"], ["created_at", "2015-01-24 23:11:47.753046"], ["updated_at", "2015-01-24 23:11:47.753046"]]
|
196
|
+
[1m[36m (127.4ms)[0m [1mcommit transaction[0m
|
197
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
711
198
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
712
|
-
|
713
|
-
[1m[
|
714
|
-
[1m[
|
715
|
-
[1m[35m (106.2ms)[0m commit transaction
|
716
|
-
Migrating to AddPermissionsGroupsTable (20131123120422)
|
199
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::Group"], ["permission_type", "read"], ["created_at", "2015-01-24 23:11:47.885144"], ["updated_at", "2015-01-24 23:11:47.885144"]]
|
200
|
+
[1m[36m (111.6ms)[0m [1mcommit transaction[0m
|
201
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
717
202
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
718
|
-
[1m[
|
719
|
-
[1m[
|
720
|
-
[1m[
|
721
|
-
Migrating to AddUsersGroupsTable (20140613120923)
|
203
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::Group"], ["permission_type", "update"], ["created_at", "2015-01-24 23:11:48.001132"], ["updated_at", "2015-01-24 23:11:48.001132"]]
|
204
|
+
[1m[36m (127.6ms)[0m [1mcommit transaction[0m
|
205
|
+
[1m[35mFaalis::Permission Load (0.2ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
722
206
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
723
|
-
[1m[
|
724
|
-
[1m[
|
725
|
-
[1m[
|
726
|
-
Migrating to FaalisGroupsUsers (20140617124019)
|
207
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::Group"], ["permission_type", "create"], ["created_at", "2015-01-24 23:11:48.134408"], ["updated_at", "2015-01-24 23:11:48.134408"]]
|
208
|
+
[1m[36m (126.2ms)[0m [1mcommit transaction[0m
|
209
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
727
210
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
728
|
-
[1m[35mSQL (0.
|
729
|
-
[1m[36m (
|
730
|
-
|
731
|
-
[1m[
|
732
|
-
|
733
|
-
[1m[
|
734
|
-
[1m[
|
735
|
-
[1m[
|
736
|
-
[1m[
|
737
|
-
[1m[
|
738
|
-
FROM sqlite_master
|
739
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
740
|
-
UNION ALL
|
741
|
-
SELECT sql
|
742
|
-
FROM sqlite_temp_master
|
743
|
-
WHERE name='index_faalis_users_on_unlock_token' AND type='index'
|
744
|
-
[0m
|
745
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
746
|
-
FROM sqlite_master
|
747
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
748
|
-
UNION ALL
|
749
|
-
SELECT sql
|
750
|
-
FROM sqlite_temp_master
|
751
|
-
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
752
|
-
|
753
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
754
|
-
FROM sqlite_master
|
755
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
756
|
-
UNION ALL
|
757
|
-
SELECT sql
|
758
|
-
FROM sqlite_temp_master
|
759
|
-
WHERE name='index_faalis_users_on_email' AND type='index'
|
760
|
-
[0m
|
211
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::Group"], ["permission_type", "destroy"], ["created_at", "2015-01-24 23:11:48.265710"], ["updated_at", "2015-01-24 23:11:48.265710"]]
|
212
|
+
[1m[36m (113.1ms)[0m [1mcommit transaction[0m
|
213
|
+
[1m[35mFaalis::Permission Load (0.2ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
214
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
215
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
216
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
217
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
218
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
219
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
220
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
761
221
|
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
762
|
-
[1m[
|
763
|
-
[1m[35mApplicationModels Load (0.2ms)[0m SELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1 [["model", "Faalis::User"]]
|
764
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
765
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "application_models" ("model", "created_at", "updated_at") VALUES (?, ?, ?) [["model", "Faalis::User"], ["created_at", "2015-01-20 21:14:33.355300"], ["updated_at", "2015-01-20 21:14:33.355300"]]
|
766
|
-
[1m[36m (137.4ms)[0m [1mcommit transaction[0m
|
767
|
-
[1m[35mApplicationModels Load (0.1ms)[0m SELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1 [["model", "ActiveRecord::SchemaMigration"]]
|
768
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
769
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "application_models" ("model", "created_at", "updated_at") VALUES (?, ?, ?) [["model", "ActiveRecord::SchemaMigration"], ["created_at", "2015-01-20 21:14:33.495501"], ["updated_at", "2015-01-20 21:14:33.495501"]]
|
770
|
-
[1m[36m (114.7ms)[0m [1mcommit transaction[0m
|
771
|
-
[1m[35mApplicationModels Load (0.1ms)[0m SELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1 [["model", "Faalis::Permission"]]
|
772
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
773
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "application_models" ("model", "created_at", "updated_at") VALUES (?, ?, ?) [["model", "Faalis::Permission"], ["created_at", "2015-01-20 21:14:33.612365"], ["updated_at", "2015-01-20 21:14:33.612365"]]
|
774
|
-
[1m[36m (138.7ms)[0m [1mcommit transaction[0m
|
222
|
+
[1m[36mApplicationModels Load (0.3ms)[0m [1mSELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1[0m [["model", "Faalis::User"]]
|
775
223
|
[1m[35mApplicationModels Load (0.1ms)[0m SELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1 [["model", "Faalis::Group"]]
|
776
|
-
[1m[
|
777
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "application_models" ("model", "created_at", "updated_at") VALUES (?, ?, ?) [["model", "Faalis::Group"], ["created_at", "2015-01-20 21:14:33.753372"], ["updated_at", "2015-01-20 21:14:33.753372"]]
|
778
|
-
[1m[36m (132.6ms)[0m [1mcommit transaction[0m
|
224
|
+
[1m[36mApplicationModels Load (0.1ms)[0m [1mSELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1[0m [["model", "Faalis::Permission"]]
|
779
225
|
[1m[35mApplicationModels Load (0.2ms)[0m SELECT "application_models".* FROM "application_models"
|
780
|
-
[1m[36mFaalis::Permission Load (0.
|
781
|
-
[1m[
|
782
|
-
[1m[
|
783
|
-
[1m[
|
784
|
-
[1m[36mFaalis::Permission Load (0.2ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
785
|
-
[1m[35m (0.1ms)[0m begin transaction
|
786
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["model", "Faalis::User"], ["permission_type", "update"], ["created_at", "2015-01-20 21:14:34.005963"], ["updated_at", "2015-01-20 21:14:34.005963"]]
|
787
|
-
[1m[35m (114.1ms)[0m commit transaction
|
788
|
-
[1m[36mFaalis::Permission Load (0.2ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
789
|
-
[1m[35m (0.0ms)[0m begin transaction
|
790
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["model", "Faalis::User"], ["permission_type", "create"], ["created_at", "2015-01-20 21:14:34.122779"], ["updated_at", "2015-01-20 21:14:34.122779"]]
|
791
|
-
[1m[35m (131.1ms)[0m commit transaction
|
792
|
-
[1m[36mFaalis::Permission Load (0.2ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
793
|
-
[1m[35m (0.1ms)[0m begin transaction
|
794
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["model", "Faalis::User"], ["permission_type", "destroy"], ["created_at", "2015-01-20 21:14:34.256671"], ["updated_at", "2015-01-20 21:14:34.256671"]]
|
795
|
-
[1m[35m (98.9ms)[0m commit transaction
|
226
|
+
[1m[36mFaalis::Permission Load (0.3ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
227
|
+
[1m[35mFaalis::Permission Load (0.2ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
228
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
229
|
+
[1m[35mFaalis::Permission Load (0.2ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
796
230
|
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
797
|
-
[1m[
|
798
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["model", "Faalis::Group"], ["permission_type", "read"], ["created_at", "2015-01-20 21:14:34.358390"], ["updated_at", "2015-01-20 21:14:34.358390"]]
|
799
|
-
[1m[35m (97.7ms)[0m commit transaction
|
800
|
-
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
801
|
-
[1m[35m (0.1ms)[0m begin transaction
|
802
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["model", "Faalis::Group"], ["permission_type", "update"], ["created_at", "2015-01-20 21:14:34.458648"], ["updated_at", "2015-01-20 21:14:34.458648"]]
|
803
|
-
[1m[35m (97.9ms)[0m commit transaction
|
231
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
804
232
|
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
805
|
-
[1m[
|
806
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["model", "Faalis::Group"], ["permission_type", "create"], ["created_at", "2015-01-20 21:14:34.559152"], ["updated_at", "2015-01-20 21:14:34.559152"]]
|
807
|
-
[1m[35m (97.7ms)[0m commit transaction
|
808
|
-
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
809
|
-
[1m[35m (0.1ms)[0m begin transaction
|
810
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["model", "Faalis::Group"], ["permission_type", "destroy"], ["created_at", "2015-01-20 21:14:34.659583"], ["updated_at", "2015-01-20 21:14:34.659583"]]
|
811
|
-
[1m[35m (322.8ms)[0m commit transaction
|
233
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
812
234
|
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
813
235
|
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
814
236
|
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
@@ -818,86 +240,122 @@ DEPRECATION WARNING: Defining a route where `to` is a controller without an acti
|
|
818
240
|
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
819
241
|
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
820
242
|
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
821
|
-
|
822
|
-
[1m[
|
823
|
-
[1m[
|
824
|
-
[1m[
|
825
|
-
[1m[
|
826
|
-
|
243
|
+
[1m[36mApplicationModels Load (0.3ms)[0m [1mSELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1[0m [["model", "Faalis::User"]]
|
244
|
+
[1m[35mApplicationModels Load (0.1ms)[0m SELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1 [["model", "Faalis::Group"]]
|
245
|
+
[1m[36mApplicationModels Load (0.1ms)[0m [1mSELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1[0m [["model", "Faalis::Permission"]]
|
246
|
+
[1m[35mApplicationModels Load (0.1ms)[0m SELECT "application_models".* FROM "application_models"
|
247
|
+
[1m[36mFaalis::Permission Load (0.2ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
248
|
+
[1m[35mFaalis::Permission Load (0.3ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
249
|
+
[1m[36mFaalis::Permission Load (0.2ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
250
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
251
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
252
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
253
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
254
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
255
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
256
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
257
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
258
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
259
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
260
|
+
[1m[35mFaalis::Permission Load (0.2ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
261
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
262
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
827
263
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
828
|
-
|
829
|
-
[1m[
|
830
|
-
[1m[
|
831
|
-
[1m[
|
264
|
+
[1m[35mFaalis::Group Exists (0.2ms)[0m SELECT 1 AS one FROM "faalis_groups" WHERE "faalis_groups"."role" = 'admin' LIMIT 1
|
265
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "faalis_groups" ("name", "role", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Admin"], ["role", "admin"], ["created_at", "2015-01-25 00:06:33.931242"], ["updated_at", "2015-01-25 00:06:33.931242"]]
|
266
|
+
[1m[35m (174.6ms)[0m commit transaction
|
267
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
268
|
+
[1m[35mFaalis::Group Exists (0.2ms)[0m SELECT 1 AS one FROM "faalis_groups" WHERE "faalis_groups"."role" = 'guest' LIMIT 1
|
269
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
270
|
+
[1m[35mFaalis::Permission Load (0.3ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions"
|
271
|
+
[1m[36mFaalis::Permission Load (0.3ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" INNER JOIN "faalis_groups_permissions" ON "faalis_permissions"."id" = "faalis_groups_permissions"."permission_id" WHERE "faalis_groups_permissions"."group_id" = ?[0m [["group_id", 2]]
|
272
|
+
[1m[35m (0.1ms)[0m begin transaction
|
273
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?)[0m [["group_id", 2], ["permission_id", 1]]
|
274
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?) [["group_id", 2], ["permission_id", 2]]
|
275
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?)[0m [["group_id", 2], ["permission_id", 3]]
|
276
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?) [["group_id", 2], ["permission_id", 4]]
|
277
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?)[0m [["group_id", 2], ["permission_id", 5]]
|
278
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?) [["group_id", 2], ["permission_id", 6]]
|
279
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?)[0m [["group_id", 2], ["permission_id", 7]]
|
280
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?) [["group_id", 2], ["permission_id", 8]]
|
281
|
+
[1m[36m (289.4ms)[0m [1mcommit transaction[0m
|
282
|
+
[1m[35m (0.1ms)[0m begin transaction
|
283
|
+
[1m[36mFaalis::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "faalis_users" WHERE "faalis_users"."email" = 'admin@example.com' LIMIT 1[0m
|
284
|
+
[1m[35mFaalis::User Exists (0.1ms)[0m SELECT 1 AS one FROM "faalis_users" WHERE "faalis_users"."email" = 'admin@example.com' LIMIT 1
|
285
|
+
[1m[36mFaalis::Group Load (0.2ms)[0m [1mSELECT "faalis_groups".* FROM "faalis_groups" WHERE "faalis_groups"."name" = ? AND "faalis_groups"."role" = ? LIMIT 1[0m [["name", "Guest"], ["role", "guest"]]
|
286
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "faalis_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "admin@example.com"], ["encrypted_password", "$2a$10$RtACHN4OKhr..CA1pHoX8eZio6yU7IVWhlDOG1dUTG68BvHSFUrUO"], ["created_at", "2015-01-25 00:06:34.862191"], ["updated_at", "2015-01-25 00:06:34.862191"]]
|
287
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_groups_users" ("group_id", "user_id") VALUES (?, ?)[0m [["group_id", 1], ["user_id", 2]]
|
288
|
+
[1m[35m (124.8ms)[0m commit transaction
|
289
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
290
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "faalis_groups_users" ("user_id", "group_id") VALUES (?, ?) [["user_id", 2], ["group_id", 2]]
|
291
|
+
[1m[36m (127.1ms)[0m [1mcommit transaction[0m
|
292
|
+
[1m[35m (0.1ms)[0m begin transaction
|
293
|
+
[1m[36mFaalis::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "faalis_users" WHERE "faalis_users"."email" = 'user@example.com' LIMIT 1[0m
|
294
|
+
[1m[35mFaalis::User Exists (0.1ms)[0m SELECT 1 AS one FROM "faalis_users" WHERE "faalis_users"."email" = 'user@example.com' LIMIT 1
|
295
|
+
[1m[36mFaalis::Group Load (0.1ms)[0m [1mSELECT "faalis_groups".* FROM "faalis_groups" WHERE "faalis_groups"."name" = ? AND "faalis_groups"."role" = ? LIMIT 1[0m [["name", "Guest"], ["role", "guest"]]
|
296
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "faalis_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user@example.com"], ["encrypted_password", "$2a$10$cynH0zCJ96mYoqZMhfj.r.ZmA9UOKSRjSAwzURLy.zZ6Jp1HXAtj6"], ["created_at", "2015-01-25 00:06:35.219196"], ["updated_at", "2015-01-25 00:06:35.219196"]]
|
297
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_groups_users" ("group_id", "user_id") VALUES (?, ?)[0m [["group_id", 1], ["user_id", 3]]
|
298
|
+
[1m[35m (115.8ms)[0m commit transaction
|
299
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
300
|
+
[1m[35mFaalis::Group Exists (0.3ms)[0m SELECT 1 AS one FROM "faalis_groups" WHERE "faalis_groups"."role" = 'guest' LIMIT 1
|
301
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
302
|
+
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
303
|
+
[1m[36m (130.7ms)[0m [1mCREATE TABLE "application_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
304
|
+
[1m[35m (122.7ms)[0m CREATE TABLE "faalis_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "role" varchar, "created_at" datetime, "updated_at" datetime)
|
305
|
+
[1m[36m (132.0ms)[0m [1mCREATE TABLE "faalis_groups_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permission_id" integer, "group_id" integer) [0m
|
306
|
+
[1m[35m (131.9ms)[0m CREATE TABLE "faalis_groups_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer)
|
307
|
+
[1m[36m (123.9ms)[0m [1mCREATE TABLE "faalis_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar, "permission_type" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
308
|
+
[1m[35m (168.0ms)[0m CREATE TABLE "faalis_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "first_name" varchar, "last_name" varchar, "group_id" integer DEFAULT 2, "failed_attempts" integer DEFAULT 0, "unlock_token" varchar, "locked_at" datetime, "created_at" datetime, "updated_at" datetime)
|
309
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
310
|
+
[1m[35m (124.2ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_email" ON "faalis_users" ("email")
|
311
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
832
312
|
FROM sqlite_master
|
833
313
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
834
314
|
UNION ALL
|
835
315
|
SELECT sql
|
836
316
|
FROM sqlite_temp_master
|
837
317
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
838
|
-
|
839
|
-
[1m[
|
840
|
-
[1m[
|
318
|
+
[0m
|
319
|
+
[1m[35m (114.3ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_reset_password_token" ON "faalis_users" ("reset_password_token")
|
320
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
841
321
|
FROM sqlite_master
|
842
322
|
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
843
323
|
UNION ALL
|
844
324
|
SELECT sql
|
845
325
|
FROM sqlite_temp_master
|
846
326
|
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
847
|
-
|
848
|
-
[1m[
|
327
|
+
[0m
|
328
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
849
329
|
FROM sqlite_master
|
850
330
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
851
331
|
UNION ALL
|
852
332
|
SELECT sql
|
853
333
|
FROM sqlite_temp_master
|
854
334
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
855
|
-
|
856
|
-
[1m[
|
857
|
-
[1m[
|
858
|
-
[1m[
|
859
|
-
|
860
|
-
[1m[36m (
|
861
|
-
|
862
|
-
[1m[
|
863
|
-
[1m[
|
864
|
-
[1m[
|
865
|
-
|
866
|
-
[1m[36m (
|
867
|
-
|
868
|
-
[1m[
|
869
|
-
[1m[
|
870
|
-
[1m[35m (106.6ms)[0m commit transaction
|
871
|
-
Migrating to AddPermissionsGroupsTable (20131123120422)
|
872
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
873
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "faalis_groups_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permission_id" integer, "group_id" integer)
|
874
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131123120422"]]
|
875
|
-
[1m[35m (123.0ms)[0m commit transaction
|
876
|
-
Migrating to AddUsersGroupsTable (20140613120923)
|
877
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
878
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "faalis_groups_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer)
|
879
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140613120923"]]
|
880
|
-
[1m[35m (114.7ms)[0m commit transaction
|
881
|
-
Migrating to FaalisGroupsUsers (20140617124019)
|
882
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
883
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140617124019"]]
|
884
|
-
[1m[36m (194.0ms)[0m [1mcommit transaction[0m
|
885
|
-
Migrating to CreateApplicationModels (20150120211313)
|
886
|
-
[1m[35m (0.1ms)[0m begin transaction
|
887
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/lxsameer/src/Yellowen/Faalis/spec/dummy/db/migrate/20150120211313_create_application_models.model_discovery_engine.rb:7)
|
888
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "application_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
889
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150120211313"]]
|
890
|
-
[1m[36m (127.4ms)[0m [1mcommit transaction[0m
|
891
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
892
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
335
|
+
|
336
|
+
[1m[36m (130.4ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_unlock_token" ON "faalis_users" ("unlock_token")[0m
|
337
|
+
[1m[35m (128.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
338
|
+
[1m[36m (131.8ms)[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 (131.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150121060012')[0m
|
341
|
+
[1m[35m (113.2ms)[0m CREATE TABLE "application_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar, "created_at" datetime, "updated_at" datetime)
|
342
|
+
[1m[36m (97.9ms)[0m [1mCREATE TABLE "faalis_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "role" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
343
|
+
[1m[35m (115.0ms)[0m CREATE TABLE "faalis_groups_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permission_id" integer, "group_id" integer)
|
344
|
+
[1m[36m (123.3ms)[0m [1mCREATE TABLE "faalis_groups_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer) [0m
|
345
|
+
[1m[35m (123.1ms)[0m CREATE TABLE "faalis_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar, "permission_type" varchar, "created_at" datetime, "updated_at" datetime)
|
346
|
+
[1m[36m (131.4ms)[0m [1mCREATE TABLE "faalis_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "first_name" varchar, "last_name" varchar, "group_id" integer DEFAULT 2, "failed_attempts" integer DEFAULT 0, "unlock_token" varchar, "locked_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
347
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
348
|
+
[1m[36m (123.3ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_email" ON "faalis_users" ("email")[0m
|
349
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
893
350
|
FROM sqlite_master
|
894
|
-
WHERE name='
|
351
|
+
WHERE name='index_faalis_users_on_email' AND type='index'
|
895
352
|
UNION ALL
|
896
353
|
SELECT sql
|
897
354
|
FROM sqlite_temp_master
|
898
|
-
WHERE name='
|
899
|
-
|
900
|
-
[1m[
|
355
|
+
WHERE name='index_faalis_users_on_email' AND type='index'
|
356
|
+
|
357
|
+
[1m[36m (114.5ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_reset_password_token" ON "faalis_users" ("reset_password_token")[0m
|
358
|
+
[1m[35m (0.6ms)[0m SELECT sql
|
901
359
|
FROM sqlite_master
|
902
360
|
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
903
361
|
UNION ALL
|
@@ -905,7 +363,7 @@ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `n
|
|
905
363
|
FROM sqlite_temp_master
|
906
364
|
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
907
365
|
|
908
|
-
[1m[36m (0.
|
366
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
909
367
|
FROM sqlite_master
|
910
368
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
911
369
|
UNION ALL
|
@@ -913,16 +371,135 @@ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `n
|
|
913
371
|
FROM sqlite_temp_master
|
914
372
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
915
373
|
[0m
|
374
|
+
[1m[35m (112.8ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_unlock_token" ON "faalis_users" ("unlock_token")
|
375
|
+
[1m[36m (131.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
376
|
+
[1m[35m (115.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
377
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
378
|
+
[1m[35m (115.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150121060012')
|
379
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
916
380
|
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
917
|
-
[1m[
|
918
|
-
[1m[35m (
|
919
|
-
[1m[
|
920
|
-
[1m[35m (
|
921
|
-
[1m[
|
922
|
-
[1m[35m (
|
923
|
-
[1m[
|
924
|
-
[1m[35m (
|
925
|
-
[1m[
|
381
|
+
[1m[36mApplicationModels Load (0.3ms)[0m [1mSELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1[0m [["model", "Faalis::User"]]
|
382
|
+
[1m[35m (0.1ms)[0m begin transaction
|
383
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "application_models" ("model", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["model", "Faalis::User"], ["created_at", "2015-01-25 00:10:13.121761"], ["updated_at", "2015-01-25 00:10:13.121761"]]
|
384
|
+
[1m[35m (152.3ms)[0m commit transaction
|
385
|
+
[1m[36mApplicationModels Load (0.2ms)[0m [1mSELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1[0m [["model", "Faalis::Group"]]
|
386
|
+
[1m[35m (0.1ms)[0m begin transaction
|
387
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "application_models" ("model", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["model", "Faalis::Group"], ["created_at", "2015-01-25 00:10:13.279041"], ["updated_at", "2015-01-25 00:10:13.279041"]]
|
388
|
+
[1m[35m (498.4ms)[0m commit transaction
|
389
|
+
[1m[36mApplicationModels Load (0.1ms)[0m [1mSELECT "application_models".* FROM "application_models" WHERE "application_models"."model" = ? LIMIT 1[0m [["model", "Faalis::Permission"]]
|
390
|
+
[1m[35m (0.1ms)[0m begin transaction
|
391
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "application_models" ("model", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["model", "Faalis::Permission"], ["created_at", "2015-01-25 00:10:13.782652"], ["updated_at", "2015-01-25 00:10:13.782652"]]
|
392
|
+
[1m[35m (120.2ms)[0m commit transaction
|
393
|
+
[1m[36mApplicationModels Load (0.4ms)[0m [1mSELECT "application_models".* FROM "application_models"[0m
|
394
|
+
[1m[35mFaalis::Permission Load (0.3ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
395
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
396
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::User"], ["permission_type", "read"], ["created_at", "2015-01-25 00:10:13.920999"], ["updated_at", "2015-01-25 00:10:13.920999"]]
|
397
|
+
[1m[36m (114.2ms)[0m [1mcommit transaction[0m
|
398
|
+
[1m[35mFaalis::Permission Load (0.4ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
399
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
400
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::User"], ["permission_type", "update"], ["created_at", "2015-01-25 00:10:14.041166"], ["updated_at", "2015-01-25 00:10:14.041166"]]
|
401
|
+
[1m[36m (135.2ms)[0m [1mcommit transaction[0m
|
402
|
+
[1m[35mFaalis::Permission Load (0.2ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
403
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
404
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::User"], ["permission_type", "create"], ["created_at", "2015-01-25 00:10:14.180628"], ["updated_at", "2015-01-25 00:10:14.180628"]]
|
405
|
+
[1m[36m (136.2ms)[0m [1mcommit transaction[0m
|
406
|
+
[1m[35mFaalis::Permission Load (0.3ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
407
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
408
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::User"], ["permission_type", "destroy"], ["created_at", "2015-01-25 00:10:14.322660"], ["updated_at", "2015-01-25 00:10:14.322660"]]
|
409
|
+
[1m[36m (135.9ms)[0m [1mcommit transaction[0m
|
410
|
+
[1m[35mFaalis::Permission Load (0.2ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
411
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
412
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::Group"], ["permission_type", "read"], ["created_at", "2015-01-25 00:10:14.464221"], ["updated_at", "2015-01-25 00:10:14.464221"]]
|
413
|
+
[1m[36m (152.3ms)[0m [1mcommit transaction[0m
|
414
|
+
[1m[35mFaalis::Permission Load (0.2ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
415
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
416
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::Group"], ["permission_type", "update"], ["created_at", "2015-01-25 00:10:14.621527"], ["updated_at", "2015-01-25 00:10:14.621527"]]
|
417
|
+
[1m[36m (163.0ms)[0m [1mcommit transaction[0m
|
418
|
+
[1m[35mFaalis::Permission Load (0.2ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
419
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
420
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::Group"], ["permission_type", "create"], ["created_at", "2015-01-25 00:10:14.789818"], ["updated_at", "2015-01-25 00:10:14.789818"]]
|
421
|
+
[1m[36m (119.2ms)[0m [1mcommit transaction[0m
|
422
|
+
[1m[35mFaalis::Permission Load (0.2ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
423
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
424
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "faalis_permissions" ("model", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["model", "Faalis::Group"], ["permission_type", "destroy"], ["created_at", "2015-01-25 00:10:14.913590"], ["updated_at", "2015-01-25 00:10:14.913590"]]
|
425
|
+
[1m[36m (119.2ms)[0m [1mcommit transaction[0m
|
426
|
+
[1m[35mFaalis::Permission Load (0.2ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
427
|
+
[1m[36mFaalis::Permission Load (0.3ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
428
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::User"]]
|
429
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::User"]]
|
430
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'read' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
431
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'update' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
432
|
+
[1m[35mFaalis::Permission Load (0.1ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'create' ORDER BY "faalis_permissions"."id" ASC LIMIT 1 [["model", "Faalis::Group"]]
|
433
|
+
[1m[36mFaalis::Permission Load (0.1ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."model" = ? AND "faalis_permissions"."permission_type" = 'destroy' ORDER BY "faalis_permissions"."id" ASC LIMIT 1[0m [["model", "Faalis::Group"]]
|
434
|
+
[1m[35m (0.1ms)[0m begin transaction
|
435
|
+
[1m[36mFaalis::Group Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "faalis_groups" WHERE "faalis_groups"."role" = 'admin' LIMIT 1[0m
|
436
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "faalis_groups" ("name", "role", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Admin"], ["role", "admin"], ["created_at", "2015-01-25 00:10:15.058476"], ["updated_at", "2015-01-25 00:10:15.058476"]]
|
437
|
+
[1m[36m (107.5ms)[0m [1mcommit transaction[0m
|
438
|
+
[1m[35m (0.2ms)[0m begin transaction
|
439
|
+
[1m[36mFaalis::Group Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "faalis_groups" WHERE "faalis_groups"."role" = 'guest' LIMIT 1[0m
|
440
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "faalis_groups" ("name", "role", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Guest"], ["role", "guest"], ["created_at", "2015-01-25 00:10:15.171807"], ["updated_at", "2015-01-25 00:10:15.171807"]]
|
441
|
+
[1m[36m (118.0ms)[0m [1mcommit transaction[0m
|
442
|
+
[1m[35mFaalis::Permission Load (0.2ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions"
|
443
|
+
[1m[36mFaalis::Permission Load (0.3ms)[0m [1mSELECT "faalis_permissions".* FROM "faalis_permissions" INNER JOIN "faalis_groups_permissions" ON "faalis_permissions"."id" = "faalis_groups_permissions"."permission_id" WHERE "faalis_groups_permissions"."group_id" = ?[0m [["group_id", 1]]
|
444
|
+
[1m[35m (0.1ms)[0m begin transaction
|
445
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?)[0m [["group_id", 1], ["permission_id", 1]]
|
446
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?) [["group_id", 1], ["permission_id", 2]]
|
447
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?)[0m [["group_id", 1], ["permission_id", 3]]
|
448
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?) [["group_id", 1], ["permission_id", 4]]
|
449
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?)[0m [["group_id", 1], ["permission_id", 5]]
|
450
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?) [["group_id", 1], ["permission_id", 6]]
|
451
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?)[0m [["group_id", 1], ["permission_id", 7]]
|
452
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "faalis_groups_permissions" ("group_id", "permission_id") VALUES (?, ?) [["group_id", 1], ["permission_id", 8]]
|
453
|
+
[1m[36m (119.4ms)[0m [1mcommit transaction[0m
|
454
|
+
[1m[35m (0.1ms)[0m begin transaction
|
455
|
+
[1m[36mFaalis::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "faalis_users" WHERE "faalis_users"."email" = 'admin@example.com' LIMIT 1[0m
|
456
|
+
[1m[35mFaalis::User Exists (0.1ms)[0m SELECT 1 AS one FROM "faalis_users" WHERE "faalis_users"."email" = 'admin@example.com' LIMIT 1
|
457
|
+
[1m[36mFaalis::Group Load (0.2ms)[0m [1mSELECT "faalis_groups".* FROM "faalis_groups" WHERE "faalis_groups"."name" = ? AND "faalis_groups"."role" = ? LIMIT 1[0m [["name", "Guest"], ["role", "guest"]]
|
458
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "faalis_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "admin@example.com"], ["encrypted_password", "$2a$10$u79NjCPqLsKXPciGn4JZmuKTC1cCKCb3nqk2CzWlQVTnVE6LYUCf."], ["created_at", "2015-01-25 00:10:15.554490"], ["updated_at", "2015-01-25 00:10:15.554490"]]
|
459
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_groups_users" ("group_id", "user_id") VALUES (?, ?)[0m [["group_id", 2], ["user_id", 1]]
|
460
|
+
[1m[35m (129.5ms)[0m commit transaction
|
461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
462
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "faalis_groups_users" ("user_id", "group_id") VALUES (?, ?) [["user_id", 1], ["group_id", 1]]
|
463
|
+
[1m[36m (135.0ms)[0m [1mcommit transaction[0m
|
464
|
+
[1m[35m (0.1ms)[0m begin transaction
|
465
|
+
[1m[36mFaalis::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "faalis_users" WHERE "faalis_users"."email" = 'user@example.com' LIMIT 1[0m
|
466
|
+
[1m[35mFaalis::User Exists (0.1ms)[0m SELECT 1 AS one FROM "faalis_users" WHERE "faalis_users"."email" = 'user@example.com' LIMIT 1
|
467
|
+
[1m[36mFaalis::Group Load (0.1ms)[0m [1mSELECT "faalis_groups".* FROM "faalis_groups" WHERE "faalis_groups"."name" = ? AND "faalis_groups"."role" = ? LIMIT 1[0m [["name", "Guest"], ["role", "guest"]]
|
468
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "faalis_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user@example.com"], ["encrypted_password", "$2a$10$Rh4V0Ar1ymU3QjzlRfMSHOUL5wK0p.LefDK4RA1AxfJeM4x7c2HyG"], ["created_at", "2015-01-25 00:10:15.922471"], ["updated_at", "2015-01-25 00:10:15.922471"]]
|
469
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "faalis_groups_users" ("group_id", "user_id") VALUES (?, ?)[0m [["group_id", 2], ["user_id", 2]]
|
470
|
+
[1m[35m (133.9ms)[0m commit transaction
|
471
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
472
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "faalis_groups_users" ("user_id", "group_id") VALUES (?, ?) [["user_id", 2], ["group_id", 2]]
|
473
|
+
[1m[36m (135.6ms)[0m [1mcommit transaction[0m
|
474
|
+
[1m[35m (0.1ms)[0m begin transaction
|
475
|
+
[1m[36m (0.3ms)[0m [1mcommit transaction[0m
|
476
|
+
[1m[35m (0.1ms)[0m begin transaction
|
477
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
478
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "faalis_users"
|
479
|
+
[1m[36mFaalis::User Load (0.4ms)[0m [1mSELECT "faalis_users".* FROM "faalis_users" ORDER BY "faalis_users"."id" ASC LIMIT 1[0m
|
480
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(DISTINCT "faalis_groups"."id") FROM "faalis_groups" LEFT OUTER JOIN "faalis_groups_permissions" ON "faalis_groups_permissions"."group_id" = "faalis_groups"."id" LEFT OUTER JOIN "faalis_permissions" ON "faalis_permissions"."id" = "faalis_groups_permissions"."permission_id" INNER JOIN "faalis_groups_users" ON "faalis_groups"."id" = "faalis_groups_users"."group_id" WHERE "faalis_groups_users"."user_id" = ? AND "permissions"."model" = ? AND "permissions"."permission_type" = 'read' [["user_id", 1], ["model", "Faalis::Group"]]
|
481
|
+
SQLite3::SQLException: no such column: permissions.model: SELECT COUNT(DISTINCT "faalis_groups"."id") FROM "faalis_groups" LEFT OUTER JOIN "faalis_groups_permissions" ON "faalis_groups_permissions"."group_id" = "faalis_groups"."id" LEFT OUTER JOIN "faalis_permissions" ON "faalis_permissions"."id" = "faalis_groups_permissions"."permission_id" INNER JOIN "faalis_groups_users" ON "faalis_groups"."id" = "faalis_groups_users"."group_id" WHERE "faalis_groups_users"."user_id" = ? AND "permissions"."model" = ? AND "permissions"."permission_type" = 'read'
|
482
|
+
[1m[36mFaalis::Group Load (0.4ms)[0m [1mSELECT "faalis_groups".* FROM "faalis_groups" INNER JOIN "faalis_groups_users" ON "faalis_groups"."id" = "faalis_groups_users"."group_id" WHERE "faalis_groups_users"."user_id" = ?[0m [["user_id", 1]]
|
483
|
+
[1m[35mFaalis::Group Load (0.2ms)[0m SELECT "faalis_groups".* FROM "faalis_groups" INNER JOIN "faalis_groups_users" ON "faalis_groups"."id" = "faalis_groups_users"."group_id" WHERE "faalis_groups_users"."user_id" = ? [["user_id", 1]]
|
484
|
+
[1m[36mHABTM_Permissions Load (0.2ms)[0m [1mSELECT "faalis_groups_permissions".* FROM "faalis_groups_permissions" WHERE "faalis_groups_permissions"."group_id" IN (2, 1)[0m
|
485
|
+
[1m[35mFaalis::Permission Load (0.4ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."id" IN (1, 2, 3, 4, 5, 6, 7, 8)
|
486
|
+
[1m[36mFaalis::Group Load (0.4ms)[0m [1mSELECT "faalis_groups".* FROM "faalis_groups" INNER JOIN "faalis_groups_users" ON "faalis_groups"."id" = "faalis_groups_users"."group_id" WHERE "faalis_groups_users"."user_id" = ? AND (permission.model = 'Faalis::Group')[0m [["user_id", 1]]
|
487
|
+
SQLite3::SQLException: no such column: permission.model: SELECT "faalis_groups".* FROM "faalis_groups" INNER JOIN "faalis_groups_users" ON "faalis_groups"."id" = "faalis_groups_users"."group_id" WHERE "faalis_groups_users"."user_id" = ? AND (permission.model = 'Faalis::Group')
|
488
|
+
[1m[35mFaalis::Group Load (0.2ms)[0m SELECT "faalis_groups".* FROM "faalis_groups" INNER JOIN "faalis_groups_users" ON "faalis_groups"."id" = "faalis_groups_users"."group_id" WHERE "faalis_groups_users"."user_id" = ? [["user_id", 1]]
|
489
|
+
[1m[36mHABTM_Permissions Load (0.3ms)[0m [1mSELECT "faalis_groups_permissions".* FROM "faalis_groups_permissions" WHERE "faalis_groups_permissions"."group_id" IN (2, 1)[0m
|
490
|
+
[1m[35mFaalis::Permission Load (0.3ms)[0m SELECT "faalis_permissions".* FROM "faalis_permissions" WHERE "faalis_permissions"."id" IN (1, 2, 3, 4, 5, 6, 7, 8)
|
491
|
+
[1m[36mSQL (0.5ms)[0m [1mSELECT "faalis_groups"."id" AS t0_r0, "faalis_groups"."name" AS t0_r1, "faalis_groups"."role" AS t0_r2, "faalis_groups"."created_at" AS t0_r3, "faalis_groups"."updated_at" AS t0_r4, "faalis_permissions"."id" AS t1_r0, "faalis_permissions"."model" AS t1_r1, "faalis_permissions"."permission_type" AS t1_r2, "faalis_permissions"."created_at" AS t1_r3, "faalis_permissions"."updated_at" AS t1_r4 FROM "faalis_groups" LEFT OUTER JOIN "faalis_groups_permissions" ON "faalis_groups_permissions"."group_id" = "faalis_groups"."id" LEFT OUTER JOIN "faalis_permissions" ON "faalis_permissions"."id" = "faalis_groups_permissions"."permission_id" INNER JOIN "faalis_groups_users" ON "faalis_groups"."id" = "faalis_groups_users"."group_id" WHERE "faalis_groups_users"."user_id" = ?[0m [["user_id", 1]]
|
492
|
+
[1m[35mSQL (0.6ms)[0m SELECT "faalis_groups"."id" AS t0_r0, "faalis_groups"."name" AS t0_r1, "faalis_groups"."role" AS t0_r2, "faalis_groups"."created_at" AS t0_r3, "faalis_groups"."updated_at" AS t0_r4, "faalis_permissions"."id" AS t1_r0, "faalis_permissions"."model" AS t1_r1, "faalis_permissions"."permission_type" AS t1_r2, "faalis_permissions"."created_at" AS t1_r3, "faalis_permissions"."updated_at" AS t1_r4 FROM "faalis_groups" LEFT OUTER JOIN "faalis_groups_permissions" ON "faalis_groups_permissions"."group_id" = "faalis_groups"."id" LEFT OUTER JOIN "faalis_permissions" ON "faalis_permissions"."id" = "faalis_groups_permissions"."permission_id" INNER JOIN "faalis_groups_users" ON "faalis_groups"."id" = "faalis_groups_users"."group_id" WHERE "faalis_groups_users"."user_id" = ? AND (faalis_permissions.model = 'Faalis::Group') [["user_id", 1]]
|
493
|
+
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
494
|
+
[1m[36m (125.0ms)[0m [1mCREATE TABLE "application_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
495
|
+
[1m[35m (132.7ms)[0m CREATE TABLE "faalis_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "role" varchar, "created_at" datetime, "updated_at" datetime)
|
496
|
+
[1m[36m (123.8ms)[0m [1mCREATE TABLE "faalis_groups_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permission_id" integer, "group_id" integer) [0m
|
497
|
+
[1m[35m (123.5ms)[0m CREATE TABLE "faalis_groups_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer)
|
498
|
+
[1m[36m (164.3ms)[0m [1mCREATE TABLE "faalis_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar, "permission_type" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
499
|
+
[1m[35m (201.5ms)[0m CREATE TABLE "faalis_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "first_name" varchar, "last_name" varchar, "group_id" integer DEFAULT 2, "failed_attempts" integer DEFAULT 0, "unlock_token" varchar, "locked_at" datetime, "created_at" datetime, "updated_at" datetime)
|
500
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
501
|
+
[1m[35m (114.5ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_email" ON "faalis_users" ("email")
|
502
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
926
503
|
FROM sqlite_master
|
927
504
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
928
505
|
UNION ALL
|
@@ -930,8 +507,8 @@ DEPRECATION WARNING: Defining a route where `to` is a controller without an acti
|
|
930
507
|
FROM sqlite_temp_master
|
931
508
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
932
509
|
[0m
|
933
|
-
[1m[35m (
|
934
|
-
[1m[36m (0.
|
510
|
+
[1m[35m (130.9ms)[0m CREATE UNIQUE INDEX "index_faalis_users_on_reset_password_token" ON "faalis_users" ("reset_password_token")
|
511
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
935
512
|
FROM sqlite_master
|
936
513
|
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
937
514
|
UNION ALL
|
@@ -939,7 +516,7 @@ DEPRECATION WARNING: Defining a route where `to` is a controller without an acti
|
|
939
516
|
FROM sqlite_temp_master
|
940
517
|
WHERE name='index_faalis_users_on_reset_password_token' AND type='index'
|
941
518
|
[0m
|
942
|
-
[1m[35m (0.
|
519
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
943
520
|
FROM sqlite_master
|
944
521
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
945
522
|
UNION ALL
|
@@ -947,15 +524,21 @@ DEPRECATION WARNING: Defining a route where `to` is a controller without an acti
|
|
947
524
|
FROM sqlite_temp_master
|
948
525
|
WHERE name='index_faalis_users_on_email' AND type='index'
|
949
526
|
|
950
|
-
[1m[36m (
|
951
|
-
[1m[35m (
|
952
|
-
[1m[36m (
|
953
|
-
[1m[35m (0.
|
954
|
-
[1m[36m (
|
955
|
-
[1m[35m (
|
956
|
-
[1m[36m (
|
957
|
-
[1m[35m (
|
958
|
-
[1m[36m (
|
959
|
-
[1m[35m (
|
960
|
-
[1m[36m (125.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131013091000')[0m
|
527
|
+
[1m[36m (147.2ms)[0m [1mCREATE UNIQUE INDEX "index_faalis_users_on_unlock_token" ON "faalis_users" ("unlock_token")[0m
|
528
|
+
[1m[35m (128.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
529
|
+
[1m[36m (148.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
530
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
531
|
+
[1m[36m (133.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150121060012')[0m
|
532
|
+
[1m[35m (132.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131020124701')
|
533
|
+
[1m[36m (132.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131021170923')[0m
|
534
|
+
[1m[35m (132.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131123120422')
|
535
|
+
[1m[36m (132.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140613120923')[0m
|
536
|
+
[1m[35m (132.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131013091000')
|
961
537
|
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: :devise/omniauth_callbacks` to `controller: :devise/omniauth_callbacks`. (called from block in <top (required)> at /home/lxsameer/src/Yellowen/Faalis/config/routes.rb:33)
|
538
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
539
|
+
Migrating to DeviseCreateFaalisUsers (20131013091000)
|
540
|
+
[1m[35m (0.1ms)[0m begin transaction
|
541
|
+
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/lxsameer/src/Yellowen/Faalis/db/migrate/20131013091000_devise_create_faalis_users.rb:53)
|
542
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "faalis_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "first_name" varchar, "last_name" varchar, "group_id" integer DEFAULT 2, "failed_attempts" integer DEFAULT 0, "unlock_token" varchar, "locked_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
543
|
+
SQLite3::SQLException: table "faalis_users" already exists: CREATE TABLE "faalis_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "first_name" varchar, "last_name" varchar, "group_id" integer DEFAULT 2, "failed_attempts" integer DEFAULT 0, "unlock_token" varchar, "locked_at" datetime, "created_at" datetime, "updated_at" datetime)
|
544
|
+
[1m[35m (0.1ms)[0m rollback transaction
|