EdPaste icon indicating copy to clipboard operation
EdPaste copied to clipboard

Missing column *pastes.burnAfter*

Open pitchum opened this issue 6 years ago • 0 comments

Posting a new paste triggers the following error.

[2019-06-20 09:13:06] local.ERROR: SQLSTATE[42703]: Undefined column: 7 ERROR:  column "burnAfter" of relation "pastes" does not exist
LINE 1: ... "expiration", "privacy", "password", "noSyntax", "burnAfter...
                                                             ^ (SQL: insert into "pastes" ("link", "userId", "views", "title", "content", "ip", "expiration", "privacy", "password", "noSyntax", "burnAfter", "updated_at", "created_at") values (Snw3NQb3P1, 0, 0, tttaa, ttat, 10.0.0.16, 0, link, disabled, 0, 0, 2019-06-20 09:13:06, 2019-06-20 09:13:06) returning "id") {"exception":"[object] (Illuminate\\Database\\QueryException(code: 42703): SQLSTATE[42703]: Undefined column: 7 ERROR:  column \"burnAfter\" of relation \"pastes\" does not exist
LINE 1: ... \"expiration\", \"privacy\", \"password\", \"noSyntax\", \"burnAfter...
                                                             ^ (SQL: insert into \"pastes\" (\"link\", \"userId\", \"views\", \"title\", \"content\", \"ip\", \"expiration\", \"privacy\", \"password\", \"noSyntax\", \"burnAfter\", \"updated_at\", \"created_at\") values (Snw3NQb3P1, 0, 0, tttaa, ttat, 10.0.0.16, 0, link, disabled, 0, 0, 2019-06-20 09:13:06, 2019-06-20 09:13:06) returning \"id\") at /var/www/edpaste/upstream/EdPaste.git/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664, PDOException(code: 42703): SQLSTATE[42703]: Undefined column: 7 ERROR:  column \"burnAfter\" of relation \"pastes\" does not exist
LINE 1: ... \"expiration\", \"privacy\", \"password\", \"noSyntax\", \"burnAfter...
                                                             ^ at /var/www/edpaste/upstream/EdPaste.git/vendor/laravel/framework/src/Illuminate/Database/Connection.php:330)

pitchum avatar Jun 20 '19 09:06 pitchum