mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-17 10:53:02 -06:00
move stuff around + further work on domain blocks
This commit is contained in:
parent
c7192c0431
commit
5e2ba03adc
29 changed files with 279 additions and 50 deletions
|
|
@ -25,7 +25,7 @@ type DomainBlock struct {
|
|||
// ID of this block in the database
|
||||
ID string `pg:"type:CHAR(26),pk,notnull,unique"`
|
||||
// blocked domain
|
||||
Domain string `pg:",notnull"`
|
||||
Domain string `pg:",pk,notnull,unique"`
|
||||
// When was this block created
|
||||
CreatedAt time.Time `pg:"type:timestamp,notnull,default:now()"`
|
||||
// When was this block updated
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue