
from sqlalchemy import MetaData, Table, Column, Integer, String

METADATA = MetaData()

Table("quote", METADATA,
      Column("qid", Integer, primary_key=True),
      Column("text", String, nullable=False))


from sqlalchemy import MetaData, Table, Column, Integer, String

METADATA = MetaData()

Table("quote", METADATA,
      Column("qid", Integer, primary_key=True),
      Column("text", String, nullable=False))

Table("moderator", METADATA,
      Column("stream", String, primary_key=True),
      Column("name", String, primary_key=True))

Add a table for caching moderators
Add a table for caching moderators

  
  from sqlalchemy import MetaData, Table, Column, Integer, String
  
  METADATA = MetaData()
  
  Table("quote", METADATA,
        Column("qid", Integer, primary_key=True),
        Column("text", String, nullable=False))
  
+ Table("moderator", METADATA,
+       Column("stream", String, primary_key=True),
+       Column("name", String, primary_key=True))
+ 
Add a table for caching moderators
## Code Before:

from sqlalchemy import MetaData, Table, Column, Integer, String

METADATA = MetaData()

Table("quote", METADATA,
      Column("qid", Integer, primary_key=True),
      Column("text", String, nullable=False))

## Instruction:
Add a table for caching moderators
## Code After:

from sqlalchemy import MetaData, Table, Column, Integer, String

METADATA = MetaData()

Table("quote", METADATA,
      Column("qid", Integer, primary_key=True),
      Column("text", String, nullable=False))

Table("moderator", METADATA,
      Column("stream", String, primary_key=True),
      Column("name", String, primary_key=True))
