DapperLib / DapperLib/Dapper

SQLite not displaying new columns via app after ADD COLUMN

Open
#1,694 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
18.4k
Forks
3.7k
Avg merge
5h 8m
Merged PRs (30d)
1

Description

Hi all, I try to add new column to existing row, in code all looks fin but if I open DB via app, I don't see any change.
What am I doing wrong?
var trans = database.BeginTransaction(); SQLiteCommand cmd = new SQLiteCommand("ALTER TABLE entities ADD COLUMN Body string;", database, trans); cmd.ExecuteNonQuery(); trans.Commit();
You can see the full statement at the link below:
https://stackoverflow.com/questions/68686647/sqlite-not-displaying-new-columns-via-ui-after-add-column

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ALTER TABLE statement in the issue and read the linked Stack Overflow discussion. Determine whether the behavior is specific to Dapper or to SQLite/the database UI; done means a reproducible Dapper-specific problem with expected and actual behavior, or confirmation that no Dapper change is needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sql, sqlite
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.