trusty-cms 2.0.2 → 2.0.3.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/.gitignore +0 -2
- data/CONTRIBUTORS.md +1 -3
- data/Gemfile +1 -6
- data/Gemfile.lock +80 -100
- data/INSTALL.md +6 -7
- data/README.md +1 -3
- data/Rakefile +4 -24
- data/app/assets/javascripts/admin/jquery-ui.js +2339 -3787
- data/app/assets/javascripts/admin/page-edit.js +3 -3
- data/app/assets/javascripts/admin/tabcontrol.js.erb +16 -16
- data/app/assets/javascripts/admin/treetable.js +2 -4
- data/app/assets/stylesheets/admin/_base.scss +4 -4
- data/app/assets/stylesheets/admin/modules/_links.scss +1 -1
- data/app/assets/stylesheets/admin/partials/_content.scss +2 -9
- data/app/assets/stylesheets/admin/partials/_forms.scss +29 -97
- data/app/assets/stylesheets/admin/partials/_header.scss +3 -2
- data/app/assets/stylesheets/admin/partials/_index.scss +6 -9
- data/app/assets/stylesheets/admin/partials/_layout.scss +2 -1
- data/app/assets/stylesheets/admin/partials/_popup.scss +11 -0
- data/app/assets/stylesheets/admin/partials/_tabcontrol.scss +4 -4
- data/app/assets/stylesheets/admin/partials/_typography.scss +0 -4
- data/app/controllers/admin/pages_controller.rb +1 -9
- data/app/controllers/admin/references_controller.rb +1 -8
- data/app/controllers/admin/users_controller.rb +1 -1
- data/app/controllers/admin/welcome_controller.rb +3 -3
- data/app/controllers/application_controller.rb.rails2 +113 -0
- data/app/controllers/site_controller.rb +1 -1
- data/app/helpers/admin/node_helper.rb +4 -4
- data/app/helpers/application_helper.rb.rails2 +242 -0
- data/app/models/trusty_cms/config.rb +1 -2
- data/app/views/admin/configuration/edit.html.haml +2 -2
- data/app/views/admin/configuration/show.html.haml +1 -1
- data/app/views/admin/layouts/_form.html.haml +1 -1
- data/app/views/admin/layouts/remove.html.haml +1 -1
- data/app/views/admin/pages/_fields.html.haml +1 -1
- data/app/views/admin/pages/_node.html.haml +2 -2
- data/app/views/admin/pages/edit.html.haml +1 -1
- data/app/views/admin/pages/remove.html.haml +2 -2
- data/app/views/admin/preferences/edit.html.haml +36 -36
- data/app/views/admin/users/_form.html.haml +1 -1
- data/app/views/admin/users/_password_fields.html.haml +1 -1
- data/app/views/admin/users/remove.html.haml +1 -1
- data/app/views/admin/welcome/login.html.haml +1 -1
- data/app/views/layouts/application.html.haml +16 -18
- data/config/application.rb +1 -2
- data/config/boot.rb +1 -0
- data/config/database.mysql.yml +3 -3
- data/{spec/dummy/config/database.yml → config/database.yml.rails2} +4 -4
- data/config/environment.rb.rails2 +89 -0
- data/config/environments/development.rb +0 -1
- data/config/environments/development.rb.rails2 +17 -0
- data/config/environments/production.rb.rails2 +24 -0
- data/config/environments/test.rb +4 -2
- data/config/initializers/trusty_cms_config.rb +0 -1
- data/config/routes.rb +0 -1
- data/config/routes.rb.rails2 +41 -0
- data/db/migrate/001_create_radiant_tables.rb +0 -1
- data/db/migrate/003_rename_behavior_column.rb +9 -0
- data/db/migrate/019_add_salt_to_users.rb +11 -0
- data/db/migrate/20100805155020_convert_page_metas.rb +13 -0
- data/db/migrate/20110902203823_add_allowed_children_cache_to_pages.rb +4 -0
- data/db/migrate/20120209231801_change_pages_allowed_children_cache_to_text.rb +1 -0
- data/lib/generators/instance/templates/databases/mysql.yml +3 -3
- data/lib/generators/instance/templates/instance_gemfile +2 -2
- data/lib/generators/trusty_cms/templates/database.yml.erb +4 -4
- data/lib/generators/trusty_cms/templates/routes.rb.erb +1 -0
- data/lib/login_system.rb +1 -1
- data/lib/tasks/database.rake +3 -1
- data/lib/tasks/framework.rake +1 -1
- data/lib/trusty_cms/admin_ui.rb +0 -2
- data/lib/trusty_cms/extension_migrator.rb +2 -1
- data/lib/trusty_cms/initializer.rb +1 -1
- data/lib/trusty_cms/setup.rb +1 -1
- data/lib/trusty_cms.rb +1 -1
- data/public/stylesheets/admin/main.css +1 -0
- data/{spec/dummy/config/routes.rb → public/stylesheets/admin/overrides.css} +0 -0
- data/spec/ci/database.mysql.yml +1 -1
- data/spec/features/pages_spec.rb +2 -2
- data/spec/helpers/regions_helper_spec.rb +16 -0
- data/spec/rails_helper.rb +4 -3
- data/spec/spec_helper.rb +77 -13
- data/spec/support/custom_actions.rb +0 -1
- data/test/test_helper.rb.rails2 +64 -0
- data/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
- data/tmp/cache/85C/FA0/TrustyCms.cache_mtime +0 -0
- data/tmp/cache_files_test/a.txt +1 -0
- data/tmp/cache_files_test/all.txt +3 -0
- data/tmp/cache_files_test/b.txt +1 -0
- data/tmp/config/radiant_config.yml +27 -0
- data/tmp/sass-cache/1a137f46a4706893cc07b2aa949a92cf851d936f/_boxes.sassc +0 -0
- data/tmp/sass-cache/1a137f46a4706893cc07b2aa949a92cf851d936f/_gradients.sassc +0 -0
- data/tmp/sass-cache/1a137f46a4706893cc07b2aa949a92cf851d936f/_links.sassc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_appearance.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_background-clip.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_background-origin.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_background-size.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_border-radius.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_box-shadow.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_box-sizing.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_box.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_columns.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_filter.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_font-face.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_hyphenation.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_images.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_inline-block.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_opacity.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_regions.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_shared.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_text-shadow.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_transform.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_transition.scssc +0 -0
- data/tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_user-interface.scssc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_actions.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_avatars.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_content.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_dateinput.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_deprecated.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_dropdown.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_footer.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_forms.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_header.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_index.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_layout.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_messages.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_popup.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_tabcontrol.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_toolbar.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_typography.sassc +0 -0
- data/tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_validations.sassc +0 -0
- data/tmp/sass-cache/33c9f77b54ab77293741bf5159eedff124a39fc1/_color.scssc +0 -0
- data/tmp/sass-cache/33c9f77b54ab77293741bf5159eedff124a39fc1/_general.scssc +0 -0
- data/tmp/sass-cache/33c9f77b54ab77293741bf5159eedff124a39fc1/_sprites.scssc +0 -0
- data/tmp/sass-cache/33c9f77b54ab77293741bf5159eedff124a39fc1/_tables.scssc +0 -0
- data/tmp/sass-cache/5683573556a6b271b3ffade55f4ff32a60e7c0f0/_base.scssc +0 -0
- data/tmp/sass-cache/5683573556a6b271b3ffade55f4ff32a60e7c0f0/_sprite-img.scssc +0 -0
- data/tmp/sass-cache/6159fdf943b5ffc54b901a34cdfcfc7e6f736834/_alternating-rows-and-columns.scssc +0 -0
- data/tmp/sass-cache/6159fdf943b5ffc54b901a34cdfcfc7e6f736834/_borders.scssc +0 -0
- data/tmp/sass-cache/6159fdf943b5ffc54b901a34cdfcfc7e6f736834/_scaffolding.scssc +0 -0
- data/tmp/sass-cache/81fb0626d3f9dbbcc1f43df416db1c97b6ad512a/_links.scssc +0 -0
- data/tmp/sass-cache/81fb0626d3f9dbbcc1f43df416db1c97b6ad512a/_lists.scssc +0 -0
- data/tmp/sass-cache/81fb0626d3f9dbbcc1f43df416db1c97b6ad512a/_text.scssc +0 -0
- data/tmp/sass-cache/81fb0626d3f9dbbcc1f43df416db1c97b6ad512a/_vertical_rhythm.scssc +0 -0
- data/tmp/sass-cache/87c1de4edf14dc5f527f65e2080e0faa325354aa/_hover-link.scssc +0 -0
- data/tmp/sass-cache/87c1de4edf14dc5f527f65e2080e0faa325354aa/_link-colors.scssc +0 -0
- data/tmp/sass-cache/87c1de4edf14dc5f527f65e2080e0faa325354aa/_unstyled-link.scssc +0 -0
- data/tmp/sass-cache/8b412a89f899813981285eadb5f08e52b94dfb65/_css3.scssc +0 -0
- data/tmp/sass-cache/8b412a89f899813981285eadb5f08e52b94dfb65/_support.scssc +0 -0
- data/tmp/sass-cache/8b412a89f899813981285eadb5f08e52b94dfb65/_typography.scssc +0 -0
- data/tmp/sass-cache/8b412a89f899813981285eadb5f08e52b94dfb65/_utilities.scssc +0 -0
- data/tmp/sass-cache/92844cd19a320f87ef960171cea4f33d1a07339c/_contrast.scssc +0 -0
- data/tmp/sass-cache/a97de1041408f914478b9e7943c5c6c2d221d4c0/_ellipsis.scssc +0 -0
- data/tmp/sass-cache/a97de1041408f914478b9e7943c5c6c2d221d4c0/_force-wrap.scssc +0 -0
- data/tmp/sass-cache/a97de1041408f914478b9e7943c5c6c2d221d4c0/_nowrap.scssc +0 -0
- data/tmp/sass-cache/a97de1041408f914478b9e7943c5c6c2d221d4c0/_replacement.scssc +0 -0
- data/tmp/sass-cache/b3d80baefd48593d8c08815ba2d83e209f5dad6f/_grid-background.scssc +0 -0
- data/tmp/sass-cache/b92bfc773efa04d930ffa0b3331244a1f378caa7/_compass.scssc +0 -0
- data/tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_clearfix.scssc +0 -0
- data/tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_float.scssc +0 -0
- data/tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_hacks.scssc +0 -0
- data/tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_min.scssc +0 -0
- data/tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_reset.scssc +0 -0
- data/tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_tag-cloud.scssc +0 -0
- data/tmp/sass-cache/c3fa060b99d9ed1d9740af472ecc747182e2ea93/_base.sassc +0 -0
- data/tmp/sass-cache/c3fa060b99d9ed1d9740af472ecc747182e2ea93/main.sassc +0 -0
- data/tmp/sass-cache/c3fa060b99d9ed1d9740af472ecc747182e2ea93/overrides.sassc +0 -0
- data/tmp/sass-cache/d2bf234de18cb20fe8238c9224b9863ed5d268c6/_bullets.scssc +0 -0
- data/tmp/sass-cache/d2bf234de18cb20fe8238c9224b9863ed5d268c6/_horizontal-list.scssc +0 -0
- data/tmp/sass-cache/d2bf234de18cb20fe8238c9224b9863ed5d268c6/_inline-block-list.scssc +0 -0
- data/tmp/sass-cache/d2bf234de18cb20fe8238c9224b9863ed5d268c6/_inline-list.scssc +0 -0
- data/tmp/sass-cache/dc9647e96d50c02214aff50e88308a74bf56d1d7/_utilities.scssc +0 -0
- data/trusty_cms.gemspec +2 -4
- metadata +180 -171
- data/spec/dummy/README.rdoc +0 -28
- data/spec/dummy/Rakefile +0 -5
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/bin/setup +0 -29
- data/spec/dummy/config/application.rb +0 -152
- data/spec/dummy/config/boot.rb +0 -6
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -49
- data/spec/dummy/config/environments/production.rb +0 -79
- data/spec/dummy/config/environments/test.rb +0 -42
- data/spec/dummy/config/initializers/assets.rb +0 -11
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -4
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/initializers/trusty_cms_config.rb +0 -20
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -23
- data/spec/dummy/config/secrets.yml +0 -22
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/db/schema.rb +0 -122
- data/spec/dummy/log/test.log +0 -25081
- data/spec/dummy/public/404.html +0 -67
- data/spec/dummy/public/422.html +0 -67
- data/spec/dummy/public/500.html +0 -66
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
- data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +0 -0
- data/spec/dummy/tmp/radiant_config_cache.txt +0 -0
data/spec/dummy/db/schema.rb
DELETED
@@ -1,122 +0,0 @@
|
|
1
|
-
# encoding: UTF-8
|
2
|
-
# This file is auto-generated from the current state of the database. Instead
|
3
|
-
# of editing this file, please use the migrations feature of Active Record to
|
4
|
-
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
-
#
|
6
|
-
# Note that this schema.rb definition is the authoritative source for your
|
7
|
-
# database schema. If you need to create the application database on another
|
8
|
-
# system, you should be using db:schema:load, not running all the migrations
|
9
|
-
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
-
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
-
#
|
12
|
-
# It's strongly recommended that you check this file into your version control system.
|
13
|
-
|
14
|
-
ActiveRecord::Schema.define(version: 20120209231801) do
|
15
|
-
|
16
|
-
create_table "config", force: :cascade do |t|
|
17
|
-
t.string "key", limit: 40, default: "", null: false
|
18
|
-
t.string "value", limit: 255, default: ""
|
19
|
-
end
|
20
|
-
|
21
|
-
add_index "config", ["key"], name: "key", unique: true, using: :btree
|
22
|
-
|
23
|
-
create_table "extension_meta", force: :cascade do |t|
|
24
|
-
t.string "name", limit: 255
|
25
|
-
t.integer "schema_version", limit: 4, default: 0
|
26
|
-
t.boolean "enabled", default: true
|
27
|
-
end
|
28
|
-
|
29
|
-
create_table "layouts", force: :cascade do |t|
|
30
|
-
t.string "name", limit: 100
|
31
|
-
t.text "content", limit: 65535
|
32
|
-
t.datetime "created_at"
|
33
|
-
t.datetime "updated_at"
|
34
|
-
t.integer "created_by_id", limit: 4
|
35
|
-
t.integer "updated_by_id", limit: 4
|
36
|
-
t.string "content_type", limit: 40
|
37
|
-
t.integer "lock_version", limit: 4, default: 0
|
38
|
-
end
|
39
|
-
|
40
|
-
create_table "page_fields", force: :cascade do |t|
|
41
|
-
t.integer "page_id", limit: 4
|
42
|
-
t.string "name", limit: 255
|
43
|
-
t.string "content", limit: 255
|
44
|
-
end
|
45
|
-
|
46
|
-
add_index "page_fields", ["page_id", "name", "content"], name: "index_page_fields_on_page_id_and_name_and_content", using: :btree
|
47
|
-
|
48
|
-
create_table "page_parts", force: :cascade do |t|
|
49
|
-
t.string "name", limit: 100
|
50
|
-
t.string "filter_id", limit: 25
|
51
|
-
t.text "content", limit: 16777215
|
52
|
-
t.integer "page_id", limit: 4
|
53
|
-
end
|
54
|
-
|
55
|
-
add_index "page_parts", ["page_id", "name"], name: "parts_by_page", using: :btree
|
56
|
-
|
57
|
-
create_table "pages", force: :cascade do |t|
|
58
|
-
t.string "title", limit: 255
|
59
|
-
t.string "slug", limit: 100
|
60
|
-
t.string "breadcrumb", limit: 160
|
61
|
-
t.string "class_name", limit: 25
|
62
|
-
t.integer "status_id", limit: 4, default: 1, null: false
|
63
|
-
t.integer "parent_id", limit: 4
|
64
|
-
t.integer "layout_id", limit: 4
|
65
|
-
t.datetime "created_at"
|
66
|
-
t.datetime "updated_at"
|
67
|
-
t.datetime "published_at"
|
68
|
-
t.integer "created_by_id", limit: 4
|
69
|
-
t.integer "updated_by_id", limit: 4
|
70
|
-
t.boolean "virtual", default: false, null: false
|
71
|
-
t.integer "lock_version", limit: 4, default: 0
|
72
|
-
t.text "allowed_children_cache", limit: 65535
|
73
|
-
end
|
74
|
-
|
75
|
-
add_index "pages", ["class_name"], name: "pages_class_name", using: :btree
|
76
|
-
add_index "pages", ["parent_id"], name: "pages_parent_id", using: :btree
|
77
|
-
add_index "pages", ["slug", "parent_id"], name: "pages_child_slug", using: :btree
|
78
|
-
add_index "pages", ["virtual", "status_id"], name: "pages_published", using: :btree
|
79
|
-
|
80
|
-
create_table "sessions", force: :cascade do |t|
|
81
|
-
t.string "session_id", limit: 255
|
82
|
-
t.text "data", limit: 65535
|
83
|
-
t.datetime "updated_at"
|
84
|
-
end
|
85
|
-
|
86
|
-
add_index "sessions", ["session_id"], name: "index_sessions_on_session_id", using: :btree
|
87
|
-
add_index "sessions", ["updated_at"], name: "index_sessions_on_updated_at", using: :btree
|
88
|
-
|
89
|
-
create_table "snippets", force: :cascade do |t|
|
90
|
-
t.string "name", limit: 100, default: "", null: false
|
91
|
-
t.string "filter_id", limit: 25
|
92
|
-
t.text "content", limit: 65535
|
93
|
-
t.datetime "created_at"
|
94
|
-
t.datetime "updated_at"
|
95
|
-
t.integer "created_by_id", limit: 4
|
96
|
-
t.integer "updated_by_id", limit: 4
|
97
|
-
t.integer "lock_version", limit: 4, default: 0
|
98
|
-
end
|
99
|
-
|
100
|
-
add_index "snippets", ["name"], name: "name", unique: true, using: :btree
|
101
|
-
|
102
|
-
create_table "users", force: :cascade do |t|
|
103
|
-
t.string "name", limit: 100
|
104
|
-
t.string "email", limit: 255
|
105
|
-
t.string "login", limit: 40, default: "", null: false
|
106
|
-
t.string "password", limit: 40
|
107
|
-
t.datetime "created_at"
|
108
|
-
t.datetime "updated_at"
|
109
|
-
t.integer "created_by_id", limit: 4
|
110
|
-
t.integer "updated_by_id", limit: 4
|
111
|
-
t.boolean "admin", default: false, null: false
|
112
|
-
t.boolean "designer", default: false, null: false
|
113
|
-
t.text "notes", limit: 65535
|
114
|
-
t.integer "lock_version", limit: 4, default: 0
|
115
|
-
t.string "salt", limit: 255
|
116
|
-
t.string "session_token", limit: 255
|
117
|
-
t.string "locale", limit: 255
|
118
|
-
end
|
119
|
-
|
120
|
-
add_index "users", ["login"], name: "login", unique: true, using: :btree
|
121
|
-
|
122
|
-
end
|