Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by pounderstanding

3 months ago

Migrations give more control.

    Alter table foo add column bar;
    Update foo set bar=baz;
    Alter table foo modify column bar NOT NULL;

1 comment

pounderstanding

Reply

skybrian  3 months ago

True. Perhaps annotating the schema would help for simple things?

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities