mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-07 23:44:55 +08:00
Fix formatting according to HoundBot
This commit is contained in:
parent
e636f61d13
commit
21298415f0
4 changed files with 30 additions and 23 deletions
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true.
|
||||
|
||||
module VariablesModel
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
class User < ApplicationRecord
|
||||
include SearchableModel, SettingsModel, VariablesModel
|
||||
include User::TeamRoles, User::ProjectRoles
|
||||
include SearchableModel
|
||||
include SettingsModel
|
||||
include VariablesModel
|
||||
include User::TeamRoles
|
||||
include User::ProjectRoles
|
||||
|
||||
acts_as_token_authenticatable
|
||||
devise :invitable, :confirmable, :database_authenticatable, :registerable,
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddVariablesToUsers < ActiveRecord::Migration[5.1]
|
||||
def up
|
||||
add_column :users, :variables, :jsonb, default: {}, null: false
|
||||
|
|
Loading…
Reference in a new issue