aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/LandingHeader.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-11 20:09:03 -0800
committerAdam Soltys <[email protected]>2022-11-11 20:09:03 -0800
commit2984fbf89184d14c150970aec5950ff85e7d2fbe (patch)
tree600849ebe692f45c8959fed36cb0c887c37b579d /src/components/LandingHeader.svelte
parentec32bf061469aa33aa108dea0e9c5cf4fbfc2bab (diff)
downloadcoinos-ui-2984fbf89184d14c150970aec5950ff85e7d2fbe.tar.gz
coinos-ui-2984fbf89184d14c150970aec5950ff85e7d2fbe.zip
rm qr border
Diffstat (limited to 'src/components/LandingHeader.svelte')
0 files changed, 0 insertions, 0 deletions
operty */ .highlight .nt { color: #B06; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #369 } /* Name.Variable */ .highlight .ow { color: #080 } /* Operator.Word */ .highlight .w { color: #BBB } /* Text.Whitespace */ .highlight .mb { color: #00D; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #00D; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #00D; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #00D; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #00D; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #D20; background-color: #FFF0F0 } /* Literal.String.Affix */ .highlight .sb { color: #D20; background-color: #FFF0F0 } /* Literal.String.Backtick */ .highlight .sc { color: #D20; background-color: #FFF0F0 } /* Literal.String.Char */ .highlight .dl { color: #D20; background-color: #FFF0F0 } /* Literal.String.Delimiter */ .highlight .sd { color: #D20; background-color: #FFF0F0 } /* Literal.String.Doc */ .highlight .s2 { color: #D20; background-color: #FFF0F0 } /* Literal.String.Double */ .highlight .se { color: #04D; background-color: #FFF0F0 } /* Literal.String.Escape */ .highlight .sh { color: #D20; background-color: #FFF0F0 } /* Literal.String.Heredoc */ .highlight .si { color: #33B; background-color: #FFF0F0 } /* Literal.String.Interpol */ .highlight .sx { color: #2B2; background-color: #F0FFF0 } /* Literal.String.Other */ .highlight .sr { color: #080; background-color: #FFF0FF } /* Literal.String.Regex */ .highlight .s1 { color: #D20; background-color: #FFF0F0 } /* Literal.String.Single */ .highlight .ss { color: #A60; background-color: #FFF0F0 } /* Literal.String.Symbol */ .highlight .bp { color: #038 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #06B; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #369 } /* Name.Variable.Class */ .highlight .vg { color: #D70 } /* Name.Variable.Global */ .highlight .vi { color: #33B } /* Name.Variable.Instance */ .highlight .vm { color: #369 } /* Name.Variable.Magic */ .highlight .il { color: #00D; font-weight: bold } /* Literal.Number.Integer.Long */
# General guidelines for Database schema:

- String fields whose values are NOT open-ended (ie can contain random strings) should be changed to either:
  - an FK to a separate lookup table (when the domain of options is large or can grow)
  - an enum (when there are a short list of essentailly static options)

- Field names should follow SQL standards:
  - lower case
  - underscore_separated_words

- options for designated models should be standardized with: 
  {
    tableName: "table_name",
    comment: "description of table if not self-evident",
    timestamps: true,
    createdAt: 'created_at',
    updatedAt: 'updated_at',
    indexes: [
      { <as required> }
    ]
  };
  
 ## Note regarding field attributes specified in model:
 
  - createdAt, updatedAt are renamed to abide by SQL standard.

  - by default allowNull is false, so this attribute need only be specified when fields are NOT NULL.

  - comment attribute should added to any field that is not self-evident

  - may need to add indexes to more fields for rapid access  

  ## Notes regarding changes / updates

  - Some 1-1 tables are split up simply to separate scope or to control access permission (ie only user_preferences table may be edited by users themselves)

  ## Sequelize Operational  Questions:
  - Are indexes automatically generated by Sequelize migration for primary keys and/or foreign keys ?
  - Does Sequelize add non-unique indexes for data mining if specified: eg { fields: ['username'] }
  - Do timestamp fields require default value spec (eg Sequelize.NOW) ... or how can we define this in model ?

  ## Ongoing Questions:
  - payments table needs to be investigated and refactored
  - is invoices table required or is this just summary information ?
  - orders table needs to be investigated and refactored 
  - need to add subscriptions table if applicable ( what is this comprised of ?)
  - user_keys table should be commented to clarify application of each of these values.