modify workflow
This commit is contained in:
1
.github/workflows/test-package.yml
vendored
1
.github/workflows/test-package.yml
vendored
@ -14,6 +14,7 @@ jobs:
|
|||||||
tests:
|
tests:
|
||||||
name: "Python ${{ matrix.python-version }}"
|
name: "Python ${{ matrix.python-version }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'collerek/ormar'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||||
|
|||||||
@ -26,7 +26,7 @@ class DataSource(ormar.Model):
|
|||||||
|
|
||||||
class DataSourceTable(ormar.Model):
|
class DataSourceTable(ormar.Model):
|
||||||
class Meta(BaseMeta):
|
class Meta(BaseMeta):
|
||||||
tablename = "tables"
|
tablename = "source_tables"
|
||||||
|
|
||||||
id: int = ormar.Integer(primary_key=True)
|
id: int = ormar.Integer(primary_key=True)
|
||||||
name: str = ormar.String(max_length=200, index=True)
|
name: str = ormar.String(max_length=200, index=True)
|
||||||
@ -37,7 +37,7 @@ class DataSourceTable(ormar.Model):
|
|||||||
|
|
||||||
class DataSourceTableColumn(ormar.Model):
|
class DataSourceTableColumn(ormar.Model):
|
||||||
class Meta(BaseMeta):
|
class Meta(BaseMeta):
|
||||||
tablename = "columns"
|
tablename = "source_columns"
|
||||||
|
|
||||||
id: int = ormar.Integer(primary_key=True)
|
id: int = ormar.Integer(primary_key=True)
|
||||||
name: str = ormar.String(max_length=200, index=True)
|
name: str = ormar.String(max_length=200, index=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user