balderdashy / balderdashy/sails

How to use unsigned data type

Open
#7,152 2 comments 0 reactions 0 assignees View on GitHub
try this out please
Dominant language
JavaScript
Stars
22.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

**Node version**:
**Sails version** _(sails)_:
**ORM hook version** _(sails-hook-orm)_:
**Sockets hook version** _(sails-hook-sockets)_:
**Organics hook version** _(sails-hook-organics)_:
**Grunt hook version** _(sails-hook-grunt)_:
**Uploads hook version** _(sails-hook-uploads)_:
**DB adapter & version** _(e.g. sails-mysql@5.55.5)_:
**Skipper adapter & version** _(e.g. skipper-s3@5.55.5)_:


The “unsigned” in MySQL is a data type. Whenever we write an unsigned to any column that means you cannot insert negative numbers.

Contributor guide

Open the contributing guide

Research direction

The issue names no file, test, or entry point. Start by checking Sails model-attribute documentation and the MySQL adapter behavior for unsigned columns; done means the supported declaration and its effect on negative values are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mysql, node.js
Domain
backend, databases
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.