spud_cms 0.8.14 → 0.8.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/controllers/pages_controller.rb +3 -1
- data/lib/spud_cms/version.rb +1 -1
- metadata +4 -6
- data/spec/dummy/log/development.log +0 -167
@@ -1,6 +1,8 @@
|
|
1
1
|
class PagesController < ApplicationController
|
2
2
|
caches_action :show, :if => Proc.new { |c| Spud::Cms.enable_action_caching }
|
3
3
|
|
4
|
+
respond_to :html
|
5
|
+
|
4
6
|
# caches_page :show, :if => Proc.new { |c| Spud::Cms.enable_full_page_caching }
|
5
7
|
after_filter({:only => [:show]}) do |c|
|
6
8
|
return if !Spud::Cms.enable_full_page_caching
|
@@ -82,7 +84,7 @@ class PagesController < ApplicationController
|
|
82
84
|
@inline = @page.spud_template.content
|
83
85
|
end
|
84
86
|
|
85
|
-
render :layout => layout
|
87
|
+
render :layout => layout
|
86
88
|
|
87
89
|
end
|
88
90
|
|
data/lib/spud_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spud_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.15
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -324,7 +324,6 @@ files:
|
|
324
324
|
- spec/dummy/db/migrate/20120610123557_create_spud_user_settings.spud_core.rb
|
325
325
|
- spec/dummy/db/migrate/20120610123615_add_site_id_to_spud_permalinks.spud_permalinks.rb
|
326
326
|
- spec/dummy/db/schema.rb
|
327
|
-
- spec/dummy/log/development.log
|
328
327
|
- spec/dummy/public/404.html
|
329
328
|
- spec/dummy/public/422.html
|
330
329
|
- spec/dummy/public/500.html
|
@@ -351,7 +350,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
351
350
|
version: '0'
|
352
351
|
segments:
|
353
352
|
- 0
|
354
|
-
hash: -
|
353
|
+
hash: -992118473304497830
|
355
354
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
356
355
|
none: false
|
357
356
|
requirements:
|
@@ -360,7 +359,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
360
359
|
version: '0'
|
361
360
|
segments:
|
362
361
|
- 0
|
363
|
-
hash: -
|
362
|
+
hash: -992118473304497830
|
364
363
|
requirements: []
|
365
364
|
rubyforge_project:
|
366
365
|
rubygems_version: 1.8.24
|
@@ -399,7 +398,6 @@ test_files:
|
|
399
398
|
- spec/dummy/db/migrate/20120610123557_create_spud_user_settings.spud_core.rb
|
400
399
|
- spec/dummy/db/migrate/20120610123615_add_site_id_to_spud_permalinks.spud_permalinks.rb
|
401
400
|
- spec/dummy/db/schema.rb
|
402
|
-
- spec/dummy/log/development.log
|
403
401
|
- spec/dummy/public/404.html
|
404
402
|
- spec/dummy/public/422.html
|
405
403
|
- spec/dummy/public/500.html
|
@@ -1,167 +0,0 @@
|
|
1
|
-
[1m[36m (0.5ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
2
|
-
Migrating to CreateSpudPages (20120101192412)
|
3
|
-
Migrating to CreateSpudMenus (20120101193138)
|
4
|
-
Migrating to CreateSpudMenuItems (20120101193255)
|
5
|
-
Migrating to CreateSpudTemplates (20120101194124)
|
6
|
-
Migrating to CreateSpudPagePartials (20120103034659)
|
7
|
-
Migrating to AddVisibilityToSpudPages (20120104194032)
|
8
|
-
Migrating to AddMenuNameToSpudMenuItems (20120107181337)
|
9
|
-
Migrating to AddUseCustomUrlNameToSpudPages (20120111134754)
|
10
|
-
Migrating to AddNotesToSpudPages (20120118141852)
|
11
|
-
Migrating to AddMenuIdToSpudMenuItems (20120126232428)
|
12
|
-
Migrating to AddClassesToSpudMenuItems (20120128163601)
|
13
|
-
Migrating to CreateSpudAdminPermissions (20120307002859)
|
14
|
-
Migrating to CreateSpudUsers (20120307002860)
|
15
|
-
Migrating to CreateSpudPermalinks (20120307003559)
|
16
|
-
Migrating to AddSiteIdToSpudPages (20120329132314)
|
17
|
-
Migrating to AddSiteIdToSpudTemplates (20120329132322)
|
18
|
-
Migrating to AddSiteIdToSpudMenus (20120329132330)
|
19
|
-
Migrating to CreateSpudPagePartialRevisions (20120510195151)
|
20
|
-
Migrating to AddTimeZoneToSpudUser (20120610123555)
|
21
|
-
[1m[35m (776.3ms)[0m ALTER TABLE `spud_users` ADD `time_zone` varchar(255)
|
22
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120610123555')[0m
|
23
|
-
Migrating to AddScopeToSpudAdminPermissions (20120610123556)
|
24
|
-
[1m[35m (144.2ms)[0m ALTER TABLE `spud_admin_permissions` ADD `scope` varchar(255)
|
25
|
-
[1m[36m (1.8ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120610123556')[0m
|
26
|
-
Migrating to CreateSpudUserSettings (20120610123557)
|
27
|
-
[1m[35m (344.0ms)[0m CREATE TABLE `spud_user_settings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_user_id` int(11), `key` varchar(255), `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28
|
-
[1m[36m (0.5ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120610123557')[0m
|
29
|
-
Migrating to AddSiteIdToSpudPermalinks (20120610123615)
|
30
|
-
[1m[35m (321.7ms)[0m ALTER TABLE `spud_permalinks` ADD `site_id` int(11)
|
31
|
-
[1m[36m (206.7ms)[0m [1mCREATE INDEX `index_spud_permalinks_on_site_id` ON `spud_permalinks` (`site_id`)[0m
|
32
|
-
[1m[35m (0.6ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120610123615')
|
33
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
34
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
35
|
-
[1m[35m (17.7ms)[0m DROP DATABASE IF EXISTS `spud_cms_test`
|
36
|
-
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `spud_cms_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
37
|
-
[1m[35m (130.9ms)[0m CREATE TABLE `spud_admin_permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `name` varchar(255), `access` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `scope` varchar(255)) ENGINE=InnoDB
|
38
|
-
[1m[36m (254.0ms)[0m [1mCREATE TABLE `spud_menu_items` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `parent_type` varchar(255), `parent_id` int(11), `item_type` int(11), `spud_page_id` int(11), `menu_order` int(11) DEFAULT 0, `url` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `spud_menu_id` int(11), `classes` varchar(255)) ENGINE=InnoDB[0m
|
39
|
-
[1m[35m (191.4ms)[0m CREATE INDEX `index_spud_menu_items_on_menu_order` ON `spud_menu_items` (`menu_order`)
|
40
|
-
[1m[36m (192.3ms)[0m [1mCREATE INDEX `index_spud_menu_items_on_parent_type_and_parent_id` ON `spud_menu_items` (`parent_type`, `parent_id`)[0m
|
41
|
-
[1m[35m (210.6ms)[0m CREATE INDEX `index_spud_menu_items_on_spud_menu_id` ON `spud_menu_items` (`spud_menu_id`)
|
42
|
-
[1m[36m (205.5ms)[0m [1mCREATE TABLE `spud_menus` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `description` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11)) ENGINE=InnoDB[0m
|
43
|
-
[1m[35m (372.9ms)[0m CREATE INDEX `index_spud_menus_on_site_id` ON `spud_menus` (`site_id`)
|
44
|
-
[1m[36m (260.3ms)[0m [1mCREATE TABLE `spud_page_partial_revisions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `content` text, `format` varchar(255), `spud_page_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
45
|
-
[1m[35m (224.9ms)[0m CREATE INDEX `revision_idx` ON `spud_page_partial_revisions` (`spud_page_id`, `name`)
|
46
|
-
[1m[36m (235.5ms)[0m [1mCREATE TABLE `spud_page_partials` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_page_id` int(11), `name` varchar(255), `content` text, `format` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
47
|
-
[1m[35m (183.7ms)[0m CREATE INDEX `index_spud_page_partials_on_spud_page_id` ON `spud_page_partials` (`spud_page_id`)
|
48
|
-
[1m[36m (184.5ms)[0m [1mCREATE TABLE `spud_pages` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `url_name` varchar(255), `publish_at` datetime, `created_by` int(11), `updated_by` int(11), `format` varchar(255) DEFAULT 'html', `spud_page_id` int(11), `meta_description` text, `meta_keywords` varchar(255), `page_order` int(11), `template_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `visibility` int(11) DEFAULT 0, `published` tinyint(1) DEFAULT 1, `use_custom_url_name` tinyint(1) DEFAULT 0, `notes` text, `site_id` int(11)) ENGINE=InnoDB[0m
|
49
|
-
[1m[35m (214.5ms)[0m CREATE INDEX `index_spud_pages_on_site_id` ON `spud_pages` (`site_id`)
|
50
|
-
[1m[36m (184.7ms)[0m [1mCREATE TABLE `spud_permalinks` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url_name` varchar(255), `attachment_type` varchar(255), `attachment_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11)) ENGINE=InnoDB[0m
|
51
|
-
[1m[35m (203.0ms)[0m CREATE INDEX `index_spud_permalinks_on_attachment_type_and_attachment_id` ON `spud_permalinks` (`attachment_type`, `attachment_id`)
|
52
|
-
[1m[36m (178.1ms)[0m [1mCREATE INDEX `index_spud_permalinks_on_site_id` ON `spud_permalinks` (`site_id`)[0m
|
53
|
-
[1m[35m (194.8ms)[0m CREATE TABLE `spud_templates` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `base_layout` varchar(255), `content` text, `page_parts` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11)) ENGINE=InnoDB
|
54
|
-
[1m[36m (235.4ms)[0m [1mCREATE INDEX `index_spud_templates_on_site_id` ON `spud_templates` (`site_id`)[0m
|
55
|
-
[1m[35m (186.6ms)[0m CREATE TABLE `spud_user_settings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_user_id` int(11), `key` varchar(255), `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
56
|
-
[1m[36m (241.1ms)[0m [1mCREATE TABLE `spud_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `first_name` varchar(255), `last_name` varchar(255), `super_admin` tinyint(1), `login` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `crypted_password` varchar(255) NOT NULL, `password_salt` varchar(255) NOT NULL, `persistence_token` varchar(255) NOT NULL, `single_access_token` varchar(255) NOT NULL, `perishable_token` varchar(255) NOT NULL, `login_count` int(11) DEFAULT 0 NOT NULL, `failed_login_count` int(11) DEFAULT 0 NOT NULL, `last_request_at` datetime, `current_login_at` datetime, `last_login_at` datetime, `current_login_ip` varchar(255), `last_login_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `time_zone` varchar(255)) ENGINE=InnoDB[0m
|
57
|
-
[1m[35m (192.6ms)[0m CREATE INDEX `index_spud_users_on_email` ON `spud_users` (`email`)
|
58
|
-
[1m[36m (189.6ms)[0m [1mCREATE INDEX `index_spud_users_on_login` ON `spud_users` (`login`)[0m
|
59
|
-
[1m[35m (205.2ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
60
|
-
[1m[36m (214.7ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
61
|
-
[1m[35m (0.1ms)[0m SELECT version FROM `schema_migrations`
|
62
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120610123615')[0m
|
63
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120101192412')
|
64
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120101193138')[0m
|
65
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120101193255')
|
66
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120101194124')[0m
|
67
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120103034659')
|
68
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120104194032')[0m
|
69
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120107181337')
|
70
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120111134754')[0m
|
71
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120118141852')
|
72
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120126232428')[0m
|
73
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120128163601')
|
74
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120329132314')[0m
|
75
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120329132322')
|
76
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120329132330')[0m
|
77
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120510195151')
|
78
|
-
[1m[36m (6.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
79
|
-
[1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
80
|
-
Migrating to CreateSpudPages (20120101192412)
|
81
|
-
Migrating to CreateSpudMenus (20120101193138)
|
82
|
-
Migrating to CreateSpudMenuItems (20120101193255)
|
83
|
-
Migrating to CreateSpudTemplates (20120101194124)
|
84
|
-
Migrating to CreateSpudPagePartials (20120103034659)
|
85
|
-
Migrating to AddVisibilityToSpudPages (20120104194032)
|
86
|
-
Migrating to AddMenuNameToSpudMenuItems (20120107181337)
|
87
|
-
Migrating to AddUseCustomUrlNameToSpudPages (20120111134754)
|
88
|
-
Migrating to AddNotesToSpudPages (20120118141852)
|
89
|
-
Migrating to AddMenuIdToSpudMenuItems (20120126232428)
|
90
|
-
Migrating to AddClassesToSpudMenuItems (20120128163601)
|
91
|
-
Migrating to CreateSpudAdminPermissions (20120307002859)
|
92
|
-
Migrating to CreateSpudUsers (20120307002860)
|
93
|
-
Migrating to CreateSpudPermalinks (20120307003559)
|
94
|
-
Migrating to AddSiteIdToSpudPages (20120329132314)
|
95
|
-
[1m[35m (67.0ms)[0m ALTER TABLE `spud_pages` ADD `site_id` int(11)
|
96
|
-
[1m[36m (21.2ms)[0m [1mCREATE INDEX `index_spud_pages_on_site_id` ON `spud_pages` (`site_id`)[0m
|
97
|
-
[1m[35m (1.3ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120329132314')
|
98
|
-
Migrating to AddSiteIdToSpudTemplates (20120329132322)
|
99
|
-
[1m[36m (16.8ms)[0m [1mALTER TABLE `spud_templates` ADD `site_id` int(11)[0m
|
100
|
-
[1m[35m (17.7ms)[0m CREATE INDEX `index_spud_templates_on_site_id` ON `spud_templates` (`site_id`)
|
101
|
-
[1m[36m (0.5ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120329132322')[0m
|
102
|
-
Migrating to AddSiteIdToSpudMenus (20120329132330)
|
103
|
-
[1m[35m (16.2ms)[0m ALTER TABLE `spud_menus` ADD `site_id` int(11)
|
104
|
-
[1m[36m (17.6ms)[0m [1mCREATE INDEX `index_spud_menus_on_site_id` ON `spud_menus` (`site_id`)[0m
|
105
|
-
[1m[35m (1.0ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120329132330')
|
106
|
-
Migrating to CreateSpudPagePartialRevisions (20120510195151)
|
107
|
-
[1m[36m (13.0ms)[0m [1mCREATE TABLE `spud_page_partial_revisions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `content` text, `format` varchar(255), `spud_page_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
108
|
-
[1m[35m (16.6ms)[0m CREATE INDEX `revision_idx` ON `spud_page_partial_revisions` (`spud_page_id`, `name`)
|
109
|
-
[1m[36m (0.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120510195151')[0m
|
110
|
-
Migrating to AddTimeZoneToSpudUser (20120610123555)
|
111
|
-
[1m[35m (19.9ms)[0m ALTER TABLE `spud_users` ADD `time_zone` varchar(255)
|
112
|
-
[1m[36m (2.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120610123555')[0m
|
113
|
-
Migrating to AddScopeToSpudAdminPermissions (20120610123556)
|
114
|
-
[1m[35m (21.5ms)[0m ALTER TABLE `spud_admin_permissions` ADD `scope` varchar(255)
|
115
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120610123556')[0m
|
116
|
-
Migrating to CreateSpudUserSettings (20120610123557)
|
117
|
-
[1m[35m (10.5ms)[0m CREATE TABLE `spud_user_settings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_user_id` int(11), `key` varchar(255), `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
118
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120610123557')[0m
|
119
|
-
Migrating to AddSiteIdToSpudPermalinks (20120610123615)
|
120
|
-
[1m[35m (15.8ms)[0m ALTER TABLE `spud_permalinks` ADD `site_id` int(11)
|
121
|
-
[1m[36m (12.7ms)[0m [1mCREATE INDEX `index_spud_permalinks_on_site_id` ON `spud_permalinks` (`site_id`)[0m
|
122
|
-
[1m[35m (1.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20120610123615')
|
123
|
-
[1m[36m (0.5ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
124
|
-
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
125
|
-
[1m[35m (4.6ms)[0m DROP DATABASE IF EXISTS `spud_cms_test`
|
126
|
-
[1m[36m (2.5ms)[0m [1mCREATE DATABASE `spud_cms_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
127
|
-
[1m[35m (12.8ms)[0m CREATE TABLE `spud_admin_permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `name` varchar(255), `access` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `scope` varchar(255)) ENGINE=InnoDB
|
128
|
-
[1m[36m (14.6ms)[0m [1mCREATE TABLE `spud_menu_items` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `parent_type` varchar(255), `parent_id` int(11), `item_type` int(11), `spud_page_id` int(11), `menu_order` int(11) DEFAULT 0, `url` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `name` varchar(255), `spud_menu_id` int(11), `classes` varchar(255)) ENGINE=InnoDB[0m
|
129
|
-
[1m[35m (15.8ms)[0m CREATE INDEX `index_spud_menu_items_on_menu_order` ON `spud_menu_items` (`menu_order`)
|
130
|
-
[1m[36m (15.0ms)[0m [1mCREATE INDEX `index_spud_menu_items_on_parent_type_and_parent_id` ON `spud_menu_items` (`parent_type`, `parent_id`)[0m
|
131
|
-
[1m[35m (16.6ms)[0m CREATE INDEX `index_spud_menu_items_on_spud_menu_id` ON `spud_menu_items` (`spud_menu_id`)
|
132
|
-
[1m[36m (14.5ms)[0m [1mCREATE TABLE `spud_menus` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `description` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11)) ENGINE=InnoDB[0m
|
133
|
-
[1m[35m (15.5ms)[0m CREATE INDEX `index_spud_menus_on_site_id` ON `spud_menus` (`site_id`)
|
134
|
-
[1m[36m (11.1ms)[0m [1mCREATE TABLE `spud_page_partial_revisions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `content` text, `format` varchar(255), `spud_page_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
135
|
-
[1m[35m (13.7ms)[0m CREATE INDEX `revision_idx` ON `spud_page_partial_revisions` (`spud_page_id`, `name`)
|
136
|
-
[1m[36m (9.4ms)[0m [1mCREATE TABLE `spud_page_partials` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_page_id` int(11), `name` varchar(255), `content` text, `format` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
137
|
-
[1m[35m (15.4ms)[0m CREATE INDEX `index_spud_page_partials_on_spud_page_id` ON `spud_page_partials` (`spud_page_id`)
|
138
|
-
[1m[36m (11.2ms)[0m [1mCREATE TABLE `spud_pages` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `url_name` varchar(255), `publish_at` datetime, `created_by` int(11), `updated_by` int(11), `format` varchar(255) DEFAULT 'html', `spud_page_id` int(11), `meta_description` text, `meta_keywords` varchar(255), `page_order` int(11), `template_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `visibility` int(11) DEFAULT 0, `published` tinyint(1) DEFAULT 1, `use_custom_url_name` tinyint(1) DEFAULT 0, `notes` text, `site_id` int(11)) ENGINE=InnoDB[0m
|
139
|
-
[1m[35m (15.6ms)[0m CREATE INDEX `index_spud_pages_on_site_id` ON `spud_pages` (`site_id`)
|
140
|
-
[1m[36m (11.4ms)[0m [1mCREATE TABLE `spud_permalinks` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url_name` varchar(255), `attachment_type` varchar(255), `attachment_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11)) ENGINE=InnoDB[0m
|
141
|
-
[1m[35m (12.6ms)[0m CREATE INDEX `index_spud_permalinks_on_attachment_type_and_attachment_id` ON `spud_permalinks` (`attachment_type`, `attachment_id`)
|
142
|
-
[1m[36m (15.6ms)[0m [1mCREATE INDEX `index_spud_permalinks_on_site_id` ON `spud_permalinks` (`site_id`)[0m
|
143
|
-
[1m[35m (12.4ms)[0m CREATE TABLE `spud_templates` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `base_layout` varchar(255), `content` text, `page_parts` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `site_id` int(11)) ENGINE=InnoDB
|
144
|
-
[1m[36m (14.7ms)[0m [1mCREATE INDEX `index_spud_templates_on_site_id` ON `spud_templates` (`site_id`)[0m
|
145
|
-
[1m[35m (8.4ms)[0m CREATE TABLE `spud_user_settings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_user_id` int(11), `key` varchar(255), `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
146
|
-
[1m[36m (12.7ms)[0m [1mCREATE TABLE `spud_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `first_name` varchar(255), `last_name` varchar(255), `super_admin` tinyint(1), `login` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `crypted_password` varchar(255) NOT NULL, `password_salt` varchar(255) NOT NULL, `persistence_token` varchar(255) NOT NULL, `single_access_token` varchar(255) NOT NULL, `perishable_token` varchar(255) NOT NULL, `login_count` int(11) DEFAULT 0 NOT NULL, `failed_login_count` int(11) DEFAULT 0 NOT NULL, `last_request_at` datetime, `current_login_at` datetime, `last_login_at` datetime, `current_login_ip` varchar(255), `last_login_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `time_zone` varchar(255)) ENGINE=InnoDB[0m
|
147
|
-
[1m[35m (16.4ms)[0m CREATE INDEX `index_spud_users_on_email` ON `spud_users` (`email`)
|
148
|
-
[1m[36m (11.1ms)[0m [1mCREATE INDEX `index_spud_users_on_login` ON `spud_users` (`login`)[0m
|
149
|
-
[1m[35m (11.1ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
150
|
-
[1m[36m (14.4ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
151
|
-
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
152
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120610123615')[0m
|
153
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120101192412')
|
154
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120101193138')[0m
|
155
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120101193255')
|
156
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120101194124')[0m
|
157
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120103034659')
|
158
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120104194032')[0m
|
159
|
-
[1m[35m (0.6ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120107181337')
|
160
|
-
[1m[36m (0.8ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120111134754')[0m
|
161
|
-
[1m[35m (0.4ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120118141852')
|
162
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120126232428')[0m
|
163
|
-
[1m[35m (0.4ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120128163601')
|
164
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120329132314')[0m
|
165
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120329132322')
|
166
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20120329132330')[0m
|
167
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20120510195151')
|