node-fun / siyuan

An SNS backend framework, with Node and MySQL
MIT License
8 stars 7 forks source link

`NOT NULL` or `NULL`? #1

Closed FvckSh1t closed 10 years ago

FvckSh1t commented 10 years ago

Which should we use with a field, NOT NULL or NULL? Currently I think, allowing NULL with a field could bring convenience to test. xD

huangruichang commented 10 years ago

I have an agreement on 'NULL'

Jayin commented 10 years ago

'NULL'

huangruichang commented 10 years ago

By the way, which kind of name rules we use, like 'admins' or 'admin', in models

FvckSh1t commented 10 years ago

@huangruichang well, now it goes admin.js in /models, like Ghost