 
 
 --
+-- Name: memories id; Type: DEFAULT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY memories ALTER COLUMN id SET DEFAULT nextval('memories_id_seq'::regclass);
+
+--
+-- Name: memories memories_pkey; Type: CONSTRAINT; Schema: public; Owner: -
+--
+
+ALTER TABLE ONLY memories
+    ADD CONSTRAINT memories_pkey PRIMARY KEY (id);
+
+--
 -- Name: memories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
 --
 

--
-- Update fields
--
alter table memories 
    alter column created_at drop not null,
    alter column updated_at drop not null;


    ADD CONSTRAINT ar_internal_metadata_pkey PRIMARY KEY (key);




--
