we_bridge_rails_engine_orgs 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/.rspec +2 -0
- data/.travis.yml +4 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +34 -0
- data/Gemfile.lock +251 -0
- data/LICENSE.txt +21 -0
- data/MIT-LICENSE +20 -0
- data/README.md +41 -0
- data/README.rdoc +3 -0
- data/Rakefile +37 -0
- data/app/assets/javascripts/org_activities.js +2 -0
- data/app/assets/javascripts/org_branches.js +2 -0
- data/app/assets/javascripts/org_director_types.js +2 -0
- data/app/assets/javascripts/org_directors.js +2 -0
- data/app/assets/javascripts/org_member_tags.js +2 -0
- data/app/assets/javascripts/org_member_types.js +2 -0
- data/app/assets/javascripts/org_members.js +2 -0
- data/app/assets/javascripts/orgs.js +2 -0
- data/app/assets/stylesheets/org_activities.css +4 -0
- data/app/assets/stylesheets/org_branches.css +4 -0
- data/app/assets/stylesheets/org_director_types.css +4 -0
- data/app/assets/stylesheets/org_directors.css +4 -0
- data/app/assets/stylesheets/org_member_tags.css +4 -0
- data/app/assets/stylesheets/org_member_types.css +4 -0
- data/app/assets/stylesheets/org_members.css +4 -0
- data/app/assets/stylesheets/orgs.css +4 -0
- data/app/assets/stylesheets/scaffold.css +56 -0
- data/app/controllers/org_activities_controller.rb +8 -0
- data/app/controllers/org_branch_types_controller.rb +9 -0
- data/app/controllers/org_branches_controller.rb +9 -0
- data/app/controllers/org_director_types_controller.rb +8 -0
- data/app/controllers/org_directors_controller.rb +8 -0
- data/app/controllers/org_member_tags_controller.rb +8 -0
- data/app/controllers/org_member_types_controller.rb +8 -0
- data/app/controllers/org_members_controller.rb +8 -0
- data/app/controllers/orgs_controller.rb +8 -0
- data/app/helpers/org_activities_helper.rb +2 -0
- data/app/helpers/org_branches_helper.rb +2 -0
- data/app/helpers/org_director_types_helper.rb +2 -0
- data/app/helpers/org_directors_helper.rb +2 -0
- data/app/helpers/org_member_tags_helper.rb +2 -0
- data/app/helpers/org_member_types_helper.rb +2 -0
- data/app/helpers/org_members_helper.rb +2 -0
- data/app/helpers/orgs_helper.rb +2 -0
- data/app/mailers/.keep +0 -0
- data/app/models/.keep +0 -0
- data/app/models/org.rb +11 -0
- data/app/models/org_activity.rb +8 -0
- data/app/models/org_activity_text.rb +7 -0
- data/app/models/org_branch.rb +9 -0
- data/app/models/org_branch_member_mapping.rb +4 -0
- data/app/models/org_branch_text.rb +8 -0
- data/app/models/org_branch_type.rb +11 -0
- data/app/models/org_branch_type_text.rb +9 -0
- data/app/models/org_director_type.rb +11 -0
- data/app/models/org_director_type_text.rb +8 -0
- data/app/models/org_member.rb +28 -0
- data/app/models/org_member_tag.rb +8 -0
- data/app/models/org_member_tag_mapping.rb +5 -0
- data/app/models/org_member_tag_text.rb +7 -0
- data/app/models/org_member_text.rb +22 -0
- data/app/models/org_member_type.rb +11 -0
- data/app/models/org_member_type_text.rb +8 -0
- data/app/models/org_text.rb +7 -0
- data/app/views/.keep +0 -0
- data/app/views/common/_edit.html.builder +2 -0
- data/app/views/common/_index.html.builder +1 -0
- data/app/views/common/_new.html.builder +1 -0
- data/app/views/common/_show.html.builder +1 -0
- data/app/views/org_activities/edit.html.builder +1 -0
- data/app/views/org_activities/index.html.builder +1 -0
- data/app/views/org_activities/new.html.builder +1 -0
- data/app/views/org_activities/show.html.builder +9 -0
- data/app/views/org_branch_types/edit.html.builder +1 -0
- data/app/views/org_branch_types/index.html.builder +1 -0
- data/app/views/org_branch_types/new.html.builder +1 -0
- data/app/views/org_branch_types/show.html.builder +9 -0
- data/app/views/org_branches/edit.html.builder +1 -0
- data/app/views/org_branches/index.html.builder +1 -0
- data/app/views/org_branches/new.html.builder +1 -0
- data/app/views/org_branches/show.html.builder +9 -0
- data/app/views/org_director_types/_form.html.builder +14 -0
- data/app/views/org_director_types/edit.html.builder +1 -0
- data/app/views/org_director_types/index.html.builder +1 -0
- data/app/views/org_director_types/new.html.builder +1 -0
- data/app/views/org_director_types/show.html.builder +9 -0
- data/app/views/org_directors/edit.html.builder +1 -0
- data/app/views/org_directors/index.html.builder +1 -0
- data/app/views/org_directors/new.html.builder +1 -0
- data/app/views/org_directors/show.html.builder +9 -0
- data/app/views/org_member_tags/edit.html.builder +1 -0
- data/app/views/org_member_tags/index.html.builder +1 -0
- data/app/views/org_member_tags/new.html.builder +1 -0
- data/app/views/org_member_tags/show.html.builder +9 -0
- data/app/views/org_member_types/edit.html.builder +1 -0
- data/app/views/org_member_types/index.html.builder +1 -0
- data/app/views/org_member_types/new.html.builder +1 -0
- data/app/views/org_member_types/show.html.builder +9 -0
- data/app/views/org_members/edit.html.builder +1 -0
- data/app/views/org_members/index.html.builder +1 -0
- data/app/views/org_members/new.html.builder +1 -0
- data/app/views/org_members/show.html.builder +9 -0
- data/app/views/orgs/edit.html.builder +1 -0
- data/app/views/orgs/index.html.builder +1 -0
- data/app/views/orgs/new.html.builder +1 -0
- data/app/views/orgs/show.html.builder +13 -0
- data/bin/console +14 -0
- data/bin/rails +12 -0
- data/bin/setup +7 -0
- data/config/routes.rb +11 -0
- data/db/migrate/20150812025526_create_orgs.rb +122 -0
- data/db/migrate/20150814183339_create_org_branches_table.rb +31 -0
- data/lib/tasks/we_bridge_rails_engine_orgs_tasks.rake +4 -0
- data/lib/we_bridge_rails_engine_orgs/engine.rb +13 -0
- data/lib/we_bridge_rails_engine_orgs/version.rb +3 -0
- data/lib/we_bridge_rails_engine_orgs.rb +7 -0
- data/spec/controllers/org_activities_controller_spec.rb +159 -0
- data/spec/controllers/org_branches_controller_spec.rb +159 -0
- data/spec/controllers/org_director_types_controller_spec.rb +159 -0
- data/spec/controllers/org_directors_controller_spec.rb +159 -0
- data/spec/controllers/org_member_tags_controller_spec.rb +159 -0
- data/spec/controllers/org_member_types_controller_spec.rb +159 -0
- data/spec/controllers/org_members_controller_spec.rb +159 -0
- data/spec/controllers/orgs_controller_spec.rb +159 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +16 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +8 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.builder +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +29 -0
- data/spec/dummy/config/application.rb +28 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +41 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/provider_settings.rb +2 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/omniauth.yml +63 -0
- data/spec/dummy/config/omniauth.yml.org +63 -0
- data/spec/dummy/config/routes.rb +56 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +305 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +12006 -0
- data/spec/dummy/log/test.log +154 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/0BZmBV4GBBP2mXT-Bq5KS4qdbAh_4G6nOtgCtrH4rNE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1RRK_DyUgv8T2sFbYEG6n6-JvG3xMvlZCTYWyE_cCXU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1bGL2UVgPNGIpbmIxMm7Zhqz1S3_5E_-hemJChBQYKI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2fgp297hCEN9mggAbqDhssSSfNQbXHLAGYHRcoeNyMQ.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5sfZJfc-8-coZsxWhnG7QNi9QbTQm3LuCvHanza6jVY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6jIW5_LzHTeo0nHF3f7SOdaqy3yT35x4obLjMhvkbRQ.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/86j6jf2oNNPSVkHMTuUJoZzGYHNEvWwMfSIAh-Q_wiI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8NqLvJ5MoVa0NPxGOKngFS4ZRsnGK6IQfHkl-U1MUrI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/C8MAmSRXsJWbTeXMvLqOrrhN_KnBi0ut8iX91fZnhLg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/DiLk-rAzABNB75ElsvKdP_Eh-V_KblIbr3U3QclyF0o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/E8HcM2aVb1dScqT08oJRlNyfgM0-iVkTDyQcN7cddF4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FBJ-onmDShvDUhlQ7Jacn1hS_Nju3dClO7O861-e8q8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Fwk7r3eAJYuVAYg8_pGI1Vj1UZbV-jPP93SpN8tJyPs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/GTfNHEYnjfZXZHTGQSuEEiuCakM6lcHxCCLoBYzvdew.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HI4BM29XxjwMtmmewg36qsoObiRYy2V2GI09aG1y_EE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HamVqV58DQAmEiKhvw9Ng_7mraOj8HKyOMsDQM19PxM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JigkThideDLksj6ZrufTx6bLVyJBmNDbaouRbMbZdIA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/N_o3GYuVrQiNLiqimWjkHB5CJHSCC7K3Hno-XiBGa7A.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OAgB7vSwYbsD10H3ox3vY1aEH-zUkcjF8v9YwW6EJbY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QYjdvCmvd_aP40208t6tH0TukGVp8vqM6esnnFq0cOA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/R7QFe2khKmUZgHX-_me15tkaeNQw9v3-d_dThxjrU8s.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/S8xObcvQGG6uj1eqGy7IvL5j3qNf9tunwD6OjNQIB_8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/SDsevrzzr3Ytog2iS84FzNXGgIU7sSQkTWTIIum4coo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UDhlEjeIR7r4grFS_AeYBTYse5F7Ojju8yu0mScz6Ic.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UEflM8eWRGnUEhwM2m8ZvJv1Xc807SwOZ_gUoQRxdT4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/VFEdJXCIVpXWqIFcfWoPj_KqrOCNWZ7fppjVRBFQmag.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Vs2R-eMvzDzqjlKluRmPf0JVhvWU7R94DRz7Jphhnzg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/XBt_bibQOuIG9ocaYQmJsmtJgd5BcrZ4jQ68t-439zQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/XDmpnnquS4XMFZuvuyM7io3FX2wkqXIzkTerm72ZDdo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Z9_T0XrFi2IVgHl_2slv4wpbdSa0EhpECdvLA25u9O0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/a1JHimmgPvl2EuwWDMR4OlNpJV4TufqgTpOi7Sy0TsI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/a6-MgFZdmmAL52ip1yli2iaKu4zRihIVZZPsQUaxpqI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/axFrxpUG59UHCdeJI4Kl3eOyLcRfl9uCRRi6NAgMaI4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bme2_XB4XKGqohc1KW9Gqe-LXNbANY7bwm9oZGHaTwI.cache +3 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/c1nFo3JnHLdXWKWgLVt9jmiCmEQ2ndPoUTjNv1M1OkI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/cnXDDro8GJGKj_nlcBqX9sLGgT-w0JARPjWS5VCIRSw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dDi4KC6wzIbiwfTi_E35Zl4Z_lErkg6q_6FK30kZLTo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/eN4oUfIofrNhih1pDOVXB84IYQMEcgduHwZPSqnwIjw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gDicoS8YCD-tJz--CXIF0afhT0rq6D_LLCh0GE7G2HI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gDw6ULoqC7Ox2nerE01WVLVgc9XbR1WbPL-VjhbPkCA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gRVM3WJ-shebeFmALsY4niZWEYbbzCrGP9LisSCLifg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gVx-CmBVKIeSliU7Zb8RSFta76qvQCx1VUJhqedZdz4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/jDLYA3YpFOlifBm6AHj2J8jeacy_iljBTonj_mhod6I.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/nawE49iR8fvD7PVmDVPX_qvJCAobi3MSVVgcnibd_oQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ndmZMkzdU4-m13TcmfViszPUFu-0O_xNyv1lTqtHhkQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oMnDzGezNNiIYic9SdXkm-yjJdYaCl7m2bHnlaFl9wg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pzdXCzT9_-bzrPIElwqWhFt9ELoAUNtEizmWb1Tgufk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qQhBmQ4Iwrq-oIoV6CDEB9cTt4CUDyDE6u4t9-Nz1aY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qzfkRg1kuNevdpfIf5kcR1-9Q4buHB1dxcl03OT5iao.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/s7AiRxV9LdOVAylAE38RiKCstOIGXxlkhZ15nV8_GfY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/t3Nl1ub-k4CMd3OQC_Hmp23_aD9smrJFrL0FzajnCMk.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/u6G1NYM-f-jAFL4fAGAvCvyNa2T448YXFBCB2r6LPvA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/uBJ2DBMKAov-3rDsEAsHb0PVg0dOFcff9i0e4ESOs6c.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wHu7ynIgCKw1GeI1xvWayqO05ZrBt_eukD-Fx249ZZ0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wdVqCI5gqjc-qNnqeJ80WppA6paXIB4-ovEETxHP91k.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xVM8A6y2-lU8UBw4lpLNUNMKB-LwwH01oZBu8TjnnSY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xz0KN1Vpbne-X0aKg8iepHDn2X6_soUrkNmrQwCgPpQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ysBC3QUuPfkgfYV3nBpTw_znt9DtKC5I7erWmLCPTCM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/zd_YJiP9IEPD6jymqPu1CaH2XP0-m5SZBe9uLiYqMLI.cache +1 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/factories/org_activities.rb +6 -0
- data/spec/factories/org_branches.rb +6 -0
- data/spec/factories/org_director_types.rb +6 -0
- data/spec/factories/org_directors.rb +6 -0
- data/spec/factories/org_member_tags.rb +6 -0
- data/spec/factories/org_member_types.rb +6 -0
- data/spec/factories/org_members.rb +6 -0
- data/spec/factories/orgs.rb +6 -0
- data/spec/helpers/org_activities_helper_spec.rb +15 -0
- data/spec/helpers/org_branches_helper_spec.rb +15 -0
- data/spec/helpers/org_director_types_helper_spec.rb +15 -0
- data/spec/helpers/org_directors_helper_spec.rb +15 -0
- data/spec/helpers/org_member_tags_helper_spec.rb +15 -0
- data/spec/helpers/org_member_types_helper_spec.rb +15 -0
- data/spec/helpers/org_members_helper_spec.rb +15 -0
- data/spec/helpers/orgs_helper_spec.rb +15 -0
- data/spec/models/org_activity_spec.rb +5 -0
- data/spec/models/org_branch_spec.rb +5 -0
- data/spec/models/org_director_spec.rb +5 -0
- data/spec/models/org_director_type_spec.rb +5 -0
- data/spec/models/org_member_spec.rb +5 -0
- data/spec/models/org_member_tag_spec.rb +5 -0
- data/spec/models/org_member_type_spec.rb +5 -0
- data/spec/models/org_spec.rb +5 -0
- data/spec/omniauth.yml +63 -0
- data/spec/rails_helper.rb +54 -0
- data/spec/routing/org_activities_routing_spec.rb +39 -0
- data/spec/routing/org_branches_routing_spec.rb +39 -0
- data/spec/routing/org_director_types_routing_spec.rb +39 -0
- data/spec/routing/org_directors_routing_spec.rb +39 -0
- data/spec/routing/org_member_tags_routing_spec.rb +39 -0
- data/spec/routing/org_member_types_routing_spec.rb +39 -0
- data/spec/routing/org_members_routing_spec.rb +39 -0
- data/spec/routing/orgs_routing_spec.rb +39 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/views/org_activities/edit.html.builder_spec.rb +14 -0
- data/spec/views/org_activities/index.html.builder_spec.rb +14 -0
- data/spec/views/org_activities/new.html.builder_spec.rb +14 -0
- data/spec/views/org_activities/show.html.builder_spec.rb +11 -0
- data/spec/views/org_branches/edit.html.builder_spec.rb +14 -0
- data/spec/views/org_branches/index.html.builder_spec.rb +14 -0
- data/spec/views/org_branches/new.html.builder_spec.rb +14 -0
- data/spec/views/org_branches/show.html.builder_spec.rb +11 -0
- data/spec/views/org_director_types/edit.html.builder_spec.rb +14 -0
- data/spec/views/org_director_types/index.html.builder_spec.rb +14 -0
- data/spec/views/org_director_types/new.html.builder_spec.rb +14 -0
- data/spec/views/org_director_types/show.html.builder_spec.rb +11 -0
- data/spec/views/org_directors/edit.html.builder_spec.rb +14 -0
- data/spec/views/org_directors/index.html.builder_spec.rb +14 -0
- data/spec/views/org_directors/new.html.builder_spec.rb +14 -0
- data/spec/views/org_directors/show.html.builder_spec.rb +11 -0
- data/spec/views/org_member_tags/edit.html.builder_spec.rb +14 -0
- data/spec/views/org_member_tags/index.html.builder_spec.rb +14 -0
- data/spec/views/org_member_tags/new.html.builder_spec.rb +14 -0
- data/spec/views/org_member_tags/show.html.builder_spec.rb +11 -0
- data/spec/views/org_member_types/edit.html.builder_spec.rb +14 -0
- data/spec/views/org_member_types/index.html.builder_spec.rb +14 -0
- data/spec/views/org_member_types/new.html.builder_spec.rb +14 -0
- data/spec/views/org_member_types/show.html.builder_spec.rb +11 -0
- data/spec/views/org_members/edit.html.builder_spec.rb +14 -0
- data/spec/views/org_members/index.html.builder_spec.rb +14 -0
- data/spec/views/org_members/new.html.builder_spec.rb +14 -0
- data/spec/views/org_members/show.html.builder_spec.rb +11 -0
- data/spec/views/orgs/edit.html.builder_spec.rb +14 -0
- data/spec/views/orgs/index.html.builder_spec.rb +14 -0
- data/spec/views/orgs/new.html.builder_spec.rb +14 -0
- data/spec/views/orgs/show.html.builder_spec.rb +11 -0
- data/spec/we_bridge_rails_engine_orgs_spec.rb +11 -0
- data/we_bridge_rails_engine_orgs.gemspec +43 -0
- metadata +690 -0
@@ -0,0 +1,63 @@
|
|
1
|
+
production: &production
|
2
|
+
twitter:
|
3
|
+
key:
|
4
|
+
secret:
|
5
|
+
facebook:
|
6
|
+
key:
|
7
|
+
secret:
|
8
|
+
scope: ""
|
9
|
+
google_oauth2:
|
10
|
+
key: "446117111635-2gvvjj221h9l44fiif8gjmolug3n9g3d.apps.googleusercontent.com"
|
11
|
+
secret: "dHgcfcfCfRRjeIwQo3giMM5x"
|
12
|
+
scope: "email,profile"
|
13
|
+
name: "google"
|
14
|
+
github:
|
15
|
+
key:
|
16
|
+
secret:
|
17
|
+
scope: "user,public_repo"
|
18
|
+
hatena:
|
19
|
+
key:
|
20
|
+
secret:
|
21
|
+
linkedin:
|
22
|
+
key:
|
23
|
+
secret:
|
24
|
+
scope: 'r_basicprofile r_emailaddress r_network'
|
25
|
+
fields:
|
26
|
+
- "id"
|
27
|
+
- "first-name"
|
28
|
+
- "last-name"
|
29
|
+
- "formatted-name"
|
30
|
+
- "headline"
|
31
|
+
- "location"
|
32
|
+
- "industry"
|
33
|
+
- "summary"
|
34
|
+
- "specialties"
|
35
|
+
- "positions"
|
36
|
+
- "picture-url"
|
37
|
+
- "public-profile-url" # in r_basicprofile
|
38
|
+
- "email-address" # in r_emailaddress
|
39
|
+
- "connections" # in r_network
|
40
|
+
mixi:
|
41
|
+
key:
|
42
|
+
secret:
|
43
|
+
|
44
|
+
development: &development
|
45
|
+
<<: *production
|
46
|
+
twitter:
|
47
|
+
key:
|
48
|
+
secret:
|
49
|
+
facebook:
|
50
|
+
key:
|
51
|
+
secret:
|
52
|
+
google_oauth2:
|
53
|
+
key: "446117111635-bihg2co22471kd3p1tqt9q2bi7v70up1.apps.googleusercontent.com"
|
54
|
+
secret: "TheED76u6qV8T71TZ4PTuhwH"
|
55
|
+
name: "google"
|
56
|
+
github:
|
57
|
+
key:
|
58
|
+
secret:
|
59
|
+
mixi:
|
60
|
+
key:
|
61
|
+
secret:
|
62
|
+
test:
|
63
|
+
<<: *development
|
@@ -0,0 +1,63 @@
|
|
1
|
+
production: &production
|
2
|
+
twitter:
|
3
|
+
key:
|
4
|
+
secret:
|
5
|
+
facebook:
|
6
|
+
key:
|
7
|
+
secret:
|
8
|
+
scope: ""
|
9
|
+
google_oauth2:
|
10
|
+
key: "dummy.apps.googleusercontent.com"
|
11
|
+
secret: "secret"
|
12
|
+
scope: "email,profile"
|
13
|
+
name: "google"
|
14
|
+
github:
|
15
|
+
key:
|
16
|
+
secret:
|
17
|
+
scope: "user,public_repo"
|
18
|
+
hatena:
|
19
|
+
key:
|
20
|
+
secret:
|
21
|
+
linkedin:
|
22
|
+
key:
|
23
|
+
secret:
|
24
|
+
scope: 'r_basicprofile r_emailaddress r_network'
|
25
|
+
fields:
|
26
|
+
- "id"
|
27
|
+
- "first-name"
|
28
|
+
- "last-name"
|
29
|
+
- "formatted-name"
|
30
|
+
- "headline"
|
31
|
+
- "location"
|
32
|
+
- "industry"
|
33
|
+
- "summary"
|
34
|
+
- "specialties"
|
35
|
+
- "positions"
|
36
|
+
- "picture-url"
|
37
|
+
- "public-profile-url" # in r_basicprofile
|
38
|
+
- "email-address" # in r_emailaddress
|
39
|
+
- "connections" # in r_network
|
40
|
+
mixi:
|
41
|
+
key:
|
42
|
+
secret:
|
43
|
+
|
44
|
+
development: &development
|
45
|
+
<<: *production
|
46
|
+
twitter:
|
47
|
+
key:
|
48
|
+
secret:
|
49
|
+
facebook:
|
50
|
+
key:
|
51
|
+
secret:
|
52
|
+
google_oauth2:
|
53
|
+
key: "dummy.apps.googleusercontent.com"
|
54
|
+
secret: "secret"
|
55
|
+
name: "google"
|
56
|
+
github:
|
57
|
+
key:
|
58
|
+
secret:
|
59
|
+
mixi:
|
60
|
+
key:
|
61
|
+
secret:
|
62
|
+
test:
|
63
|
+
<<: *development
|
@@ -0,0 +1,56 @@
|
|
1
|
+
Rails.application.routes.draw do
|
2
|
+
# The priority is based upon order of creation: first created -> highest priority.
|
3
|
+
# See how all your routes lay out with "rake routes".
|
4
|
+
|
5
|
+
# You can have the root of your site routed with "root"
|
6
|
+
# root 'welcome#index'
|
7
|
+
|
8
|
+
# Example of regular route:
|
9
|
+
# get 'products/:id' => 'catalog#view'
|
10
|
+
|
11
|
+
# Example of named route that can be invoked with purchase_url(id: product.id)
|
12
|
+
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
13
|
+
|
14
|
+
# Example resource route (maps HTTP verbs to controller actions automatically):
|
15
|
+
# resources :products
|
16
|
+
|
17
|
+
# Example resource route with options:
|
18
|
+
# resources :products do
|
19
|
+
# member do
|
20
|
+
# get 'short'
|
21
|
+
# post 'toggle'
|
22
|
+
# end
|
23
|
+
#
|
24
|
+
# collection do
|
25
|
+
# get 'sold'
|
26
|
+
# end
|
27
|
+
# end
|
28
|
+
|
29
|
+
# Example resource route with sub-resources:
|
30
|
+
# resources :products do
|
31
|
+
# resources :comments, :sales
|
32
|
+
# resource :seller
|
33
|
+
# end
|
34
|
+
|
35
|
+
# Example resource route with more complex sub-resources:
|
36
|
+
# resources :products do
|
37
|
+
# resources :comments
|
38
|
+
# resources :sales do
|
39
|
+
# get 'recent', on: :collection
|
40
|
+
# end
|
41
|
+
# end
|
42
|
+
|
43
|
+
# Example resource route with concerns:
|
44
|
+
# concern :toggleable do
|
45
|
+
# post 'toggle'
|
46
|
+
# end
|
47
|
+
# resources :posts, concerns: :toggleable
|
48
|
+
# resources :photos, concerns: :toggleable
|
49
|
+
|
50
|
+
# Example resource route within a namespace:
|
51
|
+
# namespace :admin do
|
52
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
53
|
+
# # (app/controllers/admin/products_controller.rb)
|
54
|
+
# resources :products
|
55
|
+
# end
|
56
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: 775d0130371accf41709da8ad0ebe55635d75b5bb1e748b1ee9473f22d0479ea7ccde2370d91c610e4e9ed0ec33d49d7bd8cfaceea3a22d8fa7dbe2cf3a67609
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: 569fa4cba91b35e19bd97625a5d65fe14faa06585c6b744029ccb532484939299a65befbeb248456edca2e7d6b1328e0c528e4cf653ea3a5f9de607dbee8a640
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
Binary file
|
@@ -0,0 +1,305 @@
|
|
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: 20150814183339) do
|
15
|
+
|
16
|
+
create_table "lang_texts", force: :cascade do |t|
|
17
|
+
t.integer "parent_id", null: false
|
18
|
+
t.integer "lang_id", null: false
|
19
|
+
t.string "label"
|
20
|
+
t.datetime "created_at", null: false
|
21
|
+
t.datetime "updated_at", null: false
|
22
|
+
end
|
23
|
+
|
24
|
+
add_index "lang_texts", ["parent_id", "lang_id"], name: "index_lang_texts_on_parent_id_and_lang_id", unique: true
|
25
|
+
|
26
|
+
create_table "langs", force: :cascade do |t|
|
27
|
+
t.string "code", limit: 5, null: false
|
28
|
+
t.boolean "east", default: false, null: false
|
29
|
+
t.integer "position", default: 10000, null: false
|
30
|
+
t.boolean "enable", default: true, null: false
|
31
|
+
t.datetime "created_at", null: false
|
32
|
+
t.datetime "updated_at", null: false
|
33
|
+
end
|
34
|
+
|
35
|
+
add_index "langs", ["code"], name: "index_langs_on_code", unique: true
|
36
|
+
|
37
|
+
create_table "org_activities", force: :cascade do |t|
|
38
|
+
t.integer "org_id", null: false
|
39
|
+
t.datetime "created_at", null: false
|
40
|
+
t.datetime "updated_at", null: false
|
41
|
+
end
|
42
|
+
|
43
|
+
create_table "org_activity_texts", force: :cascade do |t|
|
44
|
+
t.integer "parent_id", null: false
|
45
|
+
t.integer "lang_id", null: false
|
46
|
+
t.string "label", null: false
|
47
|
+
t.text "description"
|
48
|
+
t.datetime "created_at", null: false
|
49
|
+
t.datetime "updated_at", null: false
|
50
|
+
end
|
51
|
+
|
52
|
+
add_index "org_activity_texts", ["lang_id", "parent_id"], name: "index_org_activity_texts_on_lang_id_and_parent_id", unique: true
|
53
|
+
|
54
|
+
create_table "org_branch_member_mappings", force: :cascade do |t|
|
55
|
+
t.integer "org_member_id", null: false
|
56
|
+
t.integer "org_branch_id", null: false
|
57
|
+
t.datetime "created_at", null: false
|
58
|
+
t.datetime "updated_at", null: false
|
59
|
+
end
|
60
|
+
|
61
|
+
add_index "org_branch_member_mappings", ["org_member_id", "org_branch_id"], name: "index_org_branch_member_mappings", unique: true
|
62
|
+
|
63
|
+
create_table "org_branch_texts", force: :cascade do |t|
|
64
|
+
t.integer "parent_id", null: false
|
65
|
+
t.integer "lang_id", null: false
|
66
|
+
t.string "name"
|
67
|
+
end
|
68
|
+
|
69
|
+
add_index "org_branch_texts", ["parent_id", "lang_id"], name: "index_org_branch_texts", unique: true
|
70
|
+
|
71
|
+
create_table "org_branch_type_texts", force: :cascade do |t|
|
72
|
+
t.integer "parent_id", null: false
|
73
|
+
t.integer "lang_id", null: false
|
74
|
+
t.string "label"
|
75
|
+
end
|
76
|
+
|
77
|
+
add_index "org_branch_type_texts", ["parent_id", "lang_id"], name: "index_org_branch_type_texts", unique: true
|
78
|
+
|
79
|
+
create_table "org_branch_types", force: :cascade do |t|
|
80
|
+
end
|
81
|
+
|
82
|
+
create_table "org_branches", force: :cascade do |t|
|
83
|
+
t.integer "org_branch_type_id", null: false
|
84
|
+
end
|
85
|
+
|
86
|
+
create_table "org_director_type_texts", force: :cascade do |t|
|
87
|
+
t.integer "parent_id", null: false
|
88
|
+
t.integer "lang_id", null: false
|
89
|
+
t.string "label"
|
90
|
+
t.text "desc"
|
91
|
+
t.datetime "created_at", null: false
|
92
|
+
t.datetime "updated_at", null: false
|
93
|
+
end
|
94
|
+
|
95
|
+
add_index "org_director_type_texts", ["parent_id", "lang_id"], name: "index_org_director_type_texts_on_parent_id_and_lang_id", unique: true
|
96
|
+
|
97
|
+
create_table "org_director_types", force: :cascade do |t|
|
98
|
+
t.integer "org_id", null: false
|
99
|
+
t.integer "position", default: 0, null: false
|
100
|
+
t.integer "limit", default: 0, null: false
|
101
|
+
t.datetime "created_at", null: false
|
102
|
+
t.datetime "updated_at", null: false
|
103
|
+
end
|
104
|
+
|
105
|
+
create_table "org_member_tag_mappings", force: :cascade do |t|
|
106
|
+
t.integer "org_member_tag_id", null: false
|
107
|
+
t.integer "org_member_id", null: false
|
108
|
+
t.datetime "created_at", null: false
|
109
|
+
t.datetime "updated_at", null: false
|
110
|
+
end
|
111
|
+
|
112
|
+
add_index "org_member_tag_mappings", ["org_member_tag_id", "org_member_id"], name: "index_org_member_tag_mappings", unique: true
|
113
|
+
|
114
|
+
create_table "org_member_tag_texts", force: :cascade do |t|
|
115
|
+
t.integer "parent_id", null: false
|
116
|
+
t.integer "lang_id", null: false
|
117
|
+
t.string "label"
|
118
|
+
t.datetime "created_at", null: false
|
119
|
+
t.datetime "updated_at", null: false
|
120
|
+
end
|
121
|
+
|
122
|
+
add_index "org_member_tag_texts", ["lang_id", "parent_id"], name: "index_org_member_tag_texts_on_lang_id_and_parent_id", unique: true
|
123
|
+
|
124
|
+
create_table "org_member_tags", force: :cascade do |t|
|
125
|
+
t.integer "org_id", null: false
|
126
|
+
t.datetime "created_at", null: false
|
127
|
+
t.datetime "updated_at", null: false
|
128
|
+
end
|
129
|
+
|
130
|
+
create_table "org_member_texts", force: :cascade do |t|
|
131
|
+
t.integer "parent_id", null: false
|
132
|
+
t.integer "lang_id", null: false
|
133
|
+
t.string "family_name"
|
134
|
+
t.string "given_name"
|
135
|
+
t.string "family_name_pron"
|
136
|
+
t.string "given_name_pron"
|
137
|
+
t.text "comment"
|
138
|
+
t.string "comment_format"
|
139
|
+
t.datetime "created_at", null: false
|
140
|
+
t.datetime "updated_at", null: false
|
141
|
+
end
|
142
|
+
|
143
|
+
add_index "org_member_texts", ["lang_id", "parent_id"], name: "index_org_member_texts_on_lang_id_and_parent_id", unique: true
|
144
|
+
|
145
|
+
create_table "org_member_type_texts", force: :cascade do |t|
|
146
|
+
t.integer "parent_id", null: false
|
147
|
+
t.integer "lang_id", null: false
|
148
|
+
t.string "label"
|
149
|
+
t.text "desc"
|
150
|
+
t.datetime "created_at", null: false
|
151
|
+
t.datetime "updated_at", null: false
|
152
|
+
end
|
153
|
+
|
154
|
+
add_index "org_member_type_texts", ["lang_id", "parent_id"], name: "index_org_member_type_texts_on_lang_id_and_parent_id", unique: true
|
155
|
+
|
156
|
+
create_table "org_member_types", force: :cascade do |t|
|
157
|
+
t.integer "org_id", null: false
|
158
|
+
t.integer "position", default: 0, null: false
|
159
|
+
t.datetime "created_at", null: false
|
160
|
+
t.datetime "updated_at", null: false
|
161
|
+
end
|
162
|
+
|
163
|
+
create_table "org_members", force: :cascade do |t|
|
164
|
+
t.integer "org_id"
|
165
|
+
t.integer "user_id"
|
166
|
+
t.integer "lang_id"
|
167
|
+
t.integer "type_id", default: 0, null: false
|
168
|
+
t.integer "org_director_type_id"
|
169
|
+
t.integer "org_member_type_id"
|
170
|
+
t.integer "byear"
|
171
|
+
t.integer "bmonth"
|
172
|
+
t.integer "bday"
|
173
|
+
t.date "entried_on", null: false
|
174
|
+
t.integer "sex", limit: 1
|
175
|
+
t.datetime "expire_at"
|
176
|
+
t.date "retired_on"
|
177
|
+
t.string "handle_name"
|
178
|
+
t.datetime "created_at", null: false
|
179
|
+
t.datetime "updated_at", null: false
|
180
|
+
end
|
181
|
+
|
182
|
+
create_table "org_texts", force: :cascade do |t|
|
183
|
+
t.integer "parent_id", null: false
|
184
|
+
t.integer "lang_id", null: false
|
185
|
+
t.string "name"
|
186
|
+
t.text "description"
|
187
|
+
t.string "www_author"
|
188
|
+
t.string "www_keywords"
|
189
|
+
t.string "address"
|
190
|
+
t.datetime "created_at", null: false
|
191
|
+
t.datetime "updated_at", null: false
|
192
|
+
end
|
193
|
+
|
194
|
+
add_index "org_texts", ["lang_id", "parent_id"], name: "index_org_texts", unique: true
|
195
|
+
|
196
|
+
create_table "orgs", force: :cascade do |t|
|
197
|
+
t.integer "lang_id", null: false
|
198
|
+
t.string "email"
|
199
|
+
t.string "url"
|
200
|
+
t.string "domain"
|
201
|
+
t.date "started_on"
|
202
|
+
t.string "post_number"
|
203
|
+
t.string "tel"
|
204
|
+
t.datetime "created_at", null: false
|
205
|
+
t.datetime "updated_at", null: false
|
206
|
+
end
|
207
|
+
|
208
|
+
create_table "people", force: :cascade do |t|
|
209
|
+
t.integer "sex", default: 1, null: false
|
210
|
+
t.integer "birth_year", default: 0, null: false
|
211
|
+
t.integer "birth_month", default: 0, null: false
|
212
|
+
t.integer "birth_day", default: 0, null: false
|
213
|
+
t.string "blood_type"
|
214
|
+
t.integer "created_by", null: false
|
215
|
+
t.integer "updated_by", null: false
|
216
|
+
t.datetime "created_at"
|
217
|
+
t.datetime "updated_at"
|
218
|
+
end
|
219
|
+
|
220
|
+
create_table "person_name_texts", force: :cascade do |t|
|
221
|
+
t.integer "parent_id", null: false
|
222
|
+
t.integer "lang_id", null: false
|
223
|
+
t.string "first_name"
|
224
|
+
t.string "first_name_pron"
|
225
|
+
t.string "last_name"
|
226
|
+
t.string "last_name_pron"
|
227
|
+
end
|
228
|
+
|
229
|
+
add_index "person_name_texts", ["parent_id", "lang_id"], name: "idx_person_name_texts", unique: true
|
230
|
+
|
231
|
+
create_table "person_names", force: :cascade do |t|
|
232
|
+
t.integer "person_id", null: false
|
233
|
+
t.integer "revision", default: 0, null: false
|
234
|
+
t.date "modified_on", null: false
|
235
|
+
t.datetime "created_at"
|
236
|
+
t.datetime "updated_at"
|
237
|
+
end
|
238
|
+
|
239
|
+
add_index "person_names", ["person_id", "revision"], name: "index_person_names_on_person_id_and_revision", unique: true
|
240
|
+
|
241
|
+
create_table "person_texts", force: :cascade do |t|
|
242
|
+
t.integer "parent_id", null: false
|
243
|
+
t.integer "lang_id", null: false
|
244
|
+
t.integer "created_by", null: false
|
245
|
+
t.integer "updated_by", null: false
|
246
|
+
t.datetime "created_at"
|
247
|
+
t.datetime "updated_at"
|
248
|
+
end
|
249
|
+
|
250
|
+
add_index "person_texts", ["parent_id", "lang_id"], name: "index_person_texts_on_parent_id_and_lang_id", unique: true
|
251
|
+
|
252
|
+
create_table "sessions", force: :cascade do |t|
|
253
|
+
t.string "session_id", null: false
|
254
|
+
t.text "data"
|
255
|
+
t.datetime "created_at"
|
256
|
+
t.datetime "updated_at"
|
257
|
+
end
|
258
|
+
|
259
|
+
add_index "sessions", ["session_id"], name: "index_sessions_on_session_id", unique: true
|
260
|
+
add_index "sessions", ["updated_at"], name: "index_sessions_on_updated_at"
|
261
|
+
|
262
|
+
create_table "user_accounts", force: :cascade do |t|
|
263
|
+
t.integer "user_id", null: false
|
264
|
+
t.string "provider", null: false
|
265
|
+
t.string "uid", null: false
|
266
|
+
t.string "token"
|
267
|
+
t.string "name"
|
268
|
+
t.string "nickname"
|
269
|
+
t.string "email"
|
270
|
+
t.string "url"
|
271
|
+
t.string "image_url"
|
272
|
+
t.string "description"
|
273
|
+
t.text "other"
|
274
|
+
t.text "credentials"
|
275
|
+
t.text "raw_info"
|
276
|
+
t.datetime "deleted_at"
|
277
|
+
t.datetime "created_at"
|
278
|
+
t.datetime "updated_at"
|
279
|
+
end
|
280
|
+
|
281
|
+
add_index "user_accounts", ["uid"], name: "index_user_accounts_on_uid", unique: true
|
282
|
+
|
283
|
+
create_table "user_texts", force: :cascade do |t|
|
284
|
+
t.integer "parent_id", null: false
|
285
|
+
t.integer "lang_id", null: false
|
286
|
+
t.string "nick_name"
|
287
|
+
t.string "nick_name_pron"
|
288
|
+
t.datetime "deleted_at"
|
289
|
+
t.datetime "created_at"
|
290
|
+
t.datetime "updated_at"
|
291
|
+
end
|
292
|
+
|
293
|
+
add_index "user_texts", ["lang_id", "parent_id"], name: "index_user_texts_on_lang_id_and_parent_id", unique: true
|
294
|
+
|
295
|
+
create_table "users", force: :cascade do |t|
|
296
|
+
t.integer "person_id"
|
297
|
+
t.string "email"
|
298
|
+
t.string "user_img_url"
|
299
|
+
t.integer "lang_id", null: false
|
300
|
+
t.datetime "deleted_at"
|
301
|
+
t.datetime "created_at"
|
302
|
+
t.datetime "updated_at"
|
303
|
+
end
|
304
|
+
|
305
|
+
end
|
Binary file
|