WIP: Add dropTableCols from gitea (dropTableColumns at migrations.go) #1523

Open
6543 wants to merge 7 commits from 6543/xorm:DropTableCols_fromGitea into master
6543 commented 2 years ago

Add dropTableCols from gitea (dropTableColumns at migrations.go)
open questions:

  • functions added in right place?
  • how to add tiDB and oralce?
Add dropTableCols from gitea (dropTableColumns at migrations.go) open questions: * functions added in right place? * how to add tiDB and oralce?
Poster

@lunny you may have a look at this?

@lunny you may have a look at this?
lunny added the
kind/feature
label 2 years ago
Owner

@6543 Right, but the CI server has problem.

@6543 Right, but the CI server has problem.
Owner

And it seems your code base is outdate.

And it seems your code base is outdate.
6543 added 112 commits 1 year ago
e6295a7c61
remove go1.10 test on drone
4b28371f5f
fix drone lint
20f3d68709
fix vet
a18e35f7f5 SetExpr support more go types (#1499)
c37aff9b3a Exclude schema from index name (#1505)
bd20ffba3b fix update map with version (#1448)
14a0c19a0c fix bug when buffersize with iterate (#941)
6dfe337869 fix statement.LimitN(0) will delete or update all data (#1119)
43b364ccfd Allow update created field if indicated on Cols (#1513)
062d9960b2 For nullable columns, store nil values as NULL (#531)
e96d53762a Fixed Join strings on func Exist (#1520)
a9e2ecbf44 Fix wrong warning log on autoincrement column when sync table (#1525)
aefe7fd6da Fix test (#1526)
189e272774 Add tests for table name (#1517)
2513e09caa Add test for second insert error (#1527)
d874b64b71 format time when sqlTypeName is core.Varchar (#1026)
bc9947c62b Add password for postgres drone image (#1530)
22aef2cd32 Add makefile (#1531)
9251a5165d Add test for join subquery (#1528)
ea2dea3897 Fix slice of struct not cache bug (#895)
83ec880ee2 Improve drone (#1537)
bc8bb23ad0 Add test for join limit (#1536)
35b2813796 Add test for mysql8.0 (#1538)
eabfb48b5d Fix int time deleted bug (#1539)
bf25a77bca Merge core package back into the main repository and split into serval sub packages. (#1543)
a90b7a48b4 Fix mssql quote (#1535)
3df77142b3 Move reserve words related files into dialects sub package (#1544)
cc33b2d305 Fix join table name quote bug (#1534)
049a28cfb7 Add leveldb cache store (#1545)
f3d9c49635 Add changelog file and tool configuration (#1546)
390effb8a4 Move zero functions to a standalone package (#1548)
757db3b888 Moved examples out of the main repository (#1550)
5a5375a170 Improve statement (#1549)
a421331cf9 Improve some codes (#1551)
02c8a4b25d Move caches to manager (#1553)
aa522f7d98 Improve code (#1552)
e2f9100419 Move tag parser related codes as a standalone sub package (#1547)
7bf9a7a73c Improve statement (#1555)
4c2b0e0f55 Add context for dialects (#1558)
29c93926a7 Add minial go version go1.11 check on drone (#1560)
f63b42ff9b Move maptype to tag parser (#1561)
2b62dc5a51 Move statement as a sub package (#1564)
41388c2f56 Use a new ContextLogger interface to implement logger (#1557)
c13117f0e6 Fix outdate changelog (#1565)
4e59597a49 Fix break session sql enable feature (#1566)
b079bc05ff Add cockroach support and tests (#896)
36c62d15f3 Remove circle file (#1569)
6160c8c670 fix bug on deleted with join (#1570)
d1cda3f21b oracle support doulbe quote but not square quote (#1571)
7278e2ab71 Improve tests (#1572)
f51d28304a Move some codes to statement sub package (#1574)
7455014823 Improve quote policy (#1567)
fa219bb836 Fix map with cols (#1575)
0f166d82da Fix rows bug (#1576)
7f22948be9 Improve dialect interface (#1578)
ccf65397e8 Improve dialect interface (#1579)
257653726e return sqls for create table (#1580)
8b100bb7d4 Fix find alias bug (#1581)
f238bb9d07 Improve insert (#1583)
00b65c6d99 Update README (#1582)
3617ee736f Only replace quotes when necessary (#1584)
4ef030c9cc mysql8.0 中同步数据前,获取数据库结构,因tableRaw为空导致同步失败 (#808)
188da20272 Move value2interface from session to statement package (#1587)
67cf42799c Remove duplicated code (#1588)
f13883a725 check driver.Valuer response, and skip the column if nil (#1167)
36e26e35ed 解决Conversion接口ToDB() ([]byte, error)方法返回*Type值为nil时,数据类型为[]byte(nil)的… (#1296)
9d4594632f Fix mssql issue with duplicate columns. (#1225)
2f95c750c3 jerry:add postgre data_type array (#1589)
6485adb722 Fix table name (#1590)
537d82a6f7 Ignore schema when dbtype is not postgres (#1593)
94fd254638 Support count with cols (#1595)
367b15879e Fix bug when dump (#1597)
c2bf301bdb fix batch insert interface slice be panic (#1598)
c56c8e122a Fix master/slave bug (#1601)
9500b23395 Fix pk bug (#1602)
b7b2b21a40 Fix dump/import bug (#1603)
a7a1dc5c42 Fix setschema (#1606)
af30c17b0d Fix dump bug (#1613)
5575e839df Add changelog for v1.0.0 (#1614)
2ece3bacbb Oracle : Local Naming Method (#1515)
3bddd228e7 Fix find and count bug (#1618)
656cf6e5d6 Fix find and count bug (#1622)
79cdec7d88 Fix duplicated deleted condition on FindAndCount (#1619)
5053c35701 Don't keep db on dialects (#1623)
9dca7f0703 Add more tests for FindAndCount (#1621)
6132eea08c Fix dump test (#1625)
0a3685be83 Fix postgres schema problem (#1624)
34f5bc3465 Fix quote with blank (#1626)
3e4dc66c58 Add changelog for v1.0.1 (#1629)
fb8eb29d1e Fix lint errors (#1631)
6254e7899f Move column string to standalone method (#1633)
b78418daa5 Support session id (#1632)
78bb4c711d Improve codes (#1630)
2ac051f075 Improve insert map generating SQL (#1634)
79bdda3cf1 Move all integrations tests to a standalone sub package (#1635)
0a06dc204a Move processor function into one file (#1637)
5d90695511 update discuss forum new address (#1638)
410c2de923 fix misspelled words (#1642)
7e981f5f5e fix bug for mis-converting uint64 to int64 (#1647)
cfa88b908c fix context not deliver in QueryStructContext (#1645)
34dc7f8791 Add Hook (#1644)
3bb787a2f7 fix GetColumns missing ordinal position (#1660)
8ebcb8b557 Fix find with another struct (#1666)
55594d1dbe Oracle uses double quotes for quoting table/column/etc. names (#1674)
d485101331 chore: improve snakeCasedName performance (#1688)
f071e5eb96 chore: improve titleCasedName performance (#1691)
b08f962d7a Fix bug when ID used but no reference table given (#1709)
4dde8f14e6 Fix find and count bug (#1651)
08a18027a0
Update README badges
b434b045ad Add missing changelog for 1.0.2 (#1712)
cc7d219065 Upgrade some dependencies (#1718)
a5c3ebf418
Merge branch 'master' into DropTableCols_fromGitea
6543 added 1 commit 1 year ago
e5ff26e652
fmt
6543 added 2 commits 1 year ago
6543 added 1 commit 1 year ago
0f8d350393
smal nits
Owner

It's dangerous to drop column for sqlite so I will not merge this if that cannot be changed.

It's dangerous to drop column for sqlite so I will not merge this if that cannot be changed.
Poster

Didn't had time to ajust it yet ...

Didn't had time to ajust it yet ...
Some checks failed
continuous-integration/drone/pr Build is failing
Required
Details
This pull request has changes conflicting with the target branch.
internal/utils/strings.go
session_schema.go
integrations/session_schema_test.go
interface.go
Sign in to join this conversation.
Loading…
There is no content yet.