mirror of
https://github.com/apache/superset.git
synced 2026-06-09 09:39:25 +00:00
* Carapal react mockup This is really just a mock up written in React to try different components. It could become scaffolding to build a prototype, or not. * Merging in Alanna's theme tweaks for SQL lab * Tweak the display of the alert message in navbar * Sketching the middleware refresh for Queries * Adjustments * Implement timer sync. * CTAS * Refactor the queries to be stored as a dict. (#994) * Download csv endpoint. (#992) * CSV download engdpoint. * Use lower case booleans. * Replcate loop with the object lookup by key. * First changes for the sync * Address comments * Fix query deletions. Update only the queries from the store. * Sync queries using tmp_id. * simplify * Fix the tests in the carapal. (#1023) * Sync queries using tmp_id. * Fix the unit tests * Bux fixes. Pass 2. * Tweakin' & linting * Adding alpha label to the SQL LAb navbar entry * Fixing the python unit tests
23 lines
412 B
Python
23 lines
412 B
Python
"""add_sql_string_to_table
|
|
|
|
Revision ID: 3c3ffe173e4f
|
|
Revises: ad82a75afd82
|
|
Create Date: 2016-08-18 14:06:28.784699
|
|
|
|
"""
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '3c3ffe173e4f'
|
|
down_revision = 'ad82a75afd82'
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
def upgrade():
|
|
op.add_column('tables', sa.Column('sql', sa.Text(), nullable=True))
|
|
|
|
|
|
def downgrade():
|
|
op.drop_column('tables', 'sql')
|