Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing column *pastes.burnAfter* #14

Open
pitchum opened this issue Jun 20, 2019 · 0 comments · May be fixed by #15
Open

Missing column *pastes.burnAfter* #14

pitchum opened this issue Jun 20, 2019 · 0 comments · May be fixed by #15

Comments

@pitchum
Copy link

pitchum commented Jun 20, 2019

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 added a commit to pitchum/EdPaste that referenced this issue Jun 20, 2019
pitchum added a commit to pitchum/EdPaste that referenced this issue Jun 20, 2019
pitchum added a commit to pitchum/EdPaste that referenced this issue Jun 20, 2019
@pitchum pitchum linked a pull request Jun 20, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant