RETURNING * to the end of the queryRETURNING id just for the id columnError: D1_ERROR: no such table: company, I have my D! config in my toml file and when I run my pages I pass --d1=DB which matches the binding name in my toml, what have I done wrong ?
wrangler d1 execute DB --local --command "select * from company" return?
status text NOT NULL DEFAULT 'active' assuming that the status would default to active but it's not working, I could swear this worked in the past but I'm having issues right now
RETURNING *RETURNING idError: D1_ERROR: no such table: company--d1=DBwrangler d1 execute DB --local --command "select * from company"status text NOT NULL DEFAULT 'active'CREATE TABLE IF NOT EXISTS licenses (
id integer PRIMARY KEY AUTOINCREMENT,
status text NOT NULL DEFAULT 'active',
plan text NOT NULL DEFAULT 'basic',
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
expires_at DATETIME DEFAULT CURRENT_TIMESTAMP
);