set column where sql code example
Example 1: update column value laravel
Page::where('id', $id)->update(array('image' => 'asdasd'));
Example 2: sql update query
--update query example
UPDATE table_name
SET column1 = value1, column2 = value2, ...
WHERE condition;
Example 3: add column to table sql
ALTER TABLE table_name ADD column_name varchar(50);