fedimovies/migrations/V0029__subscription__add_chain_id.sql
silverpill 2eb7ec2f64 Add chain ID column to subscription table
Set chain ID to "eip155:31337" for existing entries.
2022-08-31 20:42:56 +00:00

2 lines
151 B
SQL

ALTER TABLE subscription ADD COLUMN chain_id VARCHAR(50) NOT NULL DEFAULT 'eip155:31337';
ALTER TABLE subscription ALTER COLUMN chain_id DROP DEFAULT;