-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc8c569
commit b8a19da
Showing
91 changed files
with
510 additions
and
425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,51 @@ | ||
"""empty message | ||
Revision ID: 0e2da5026c00 | ||
Revises: | ||
Revises: | ||
Create Date: 2024-05-22 17:31:15.245402 | ||
""" | ||
|
||
from typing import Sequence, Union | ||
|
||
from alembic import op | ||
import sqlalchemy as sa | ||
import sqlmodel | ||
|
||
# revision identifiers, used by Alembic. | ||
revision: str = '0e2da5026c00' | ||
revision: str = "0e2da5026c00" | ||
down_revision: Union[str, None] = None | ||
branch_labels: Union[str, Sequence[str], None] = None | ||
depends_on: Union[str, Sequence[str], None] = None | ||
|
||
|
||
def upgrade() -> None: | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.create_table('customer', | ||
sa.Column('id', sa.Integer(), nullable=False), | ||
sa.Column('name', sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.Column('email', sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.Column('phone', sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.Column('address', sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.PrimaryKeyConstraint('id') | ||
op.create_table( | ||
"customer", | ||
sa.Column("id", sa.Integer(), nullable=False), | ||
sa.Column("name", sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.Column("email", sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.Column("phone", sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.Column("address", sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.PrimaryKeyConstraint("id"), | ||
) | ||
op.create_table('feedback', | ||
sa.Column('id', sa.Integer(), nullable=False), | ||
sa.Column('email', sqlmodel.sql.sqltypes.AutoString(), nullable=True), | ||
sa.Column('feedback', sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.Column('score', sa.Integer(), nullable=True), | ||
sa.Column('date_created', sa.DateTime(), nullable=False), | ||
sa.Column('page', sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.PrimaryKeyConstraint('id') | ||
op.create_table( | ||
"feedback", | ||
sa.Column("id", sa.Integer(), nullable=False), | ||
sa.Column("email", sqlmodel.sql.sqltypes.AutoString(), nullable=True), | ||
sa.Column("feedback", sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.Column("score", sa.Integer(), nullable=True), | ||
sa.Column("date_created", sa.DateTime(), nullable=False), | ||
sa.Column("page", sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.PrimaryKeyConstraint("id"), | ||
) | ||
op.create_table('waitlist', | ||
sa.Column('id', sa.Integer(), nullable=False), | ||
sa.Column('email', sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.Column('date_created', sa.DateTime(), nullable=False), | ||
sa.PrimaryKeyConstraint('id') | ||
op.create_table( | ||
"waitlist", | ||
sa.Column("id", sa.Integer(), nullable=False), | ||
sa.Column("email", sqlmodel.sql.sqltypes.AutoString(), nullable=False), | ||
sa.Column("date_created", sa.DateTime(), nullable=False), | ||
sa.PrimaryKeyConstraint("id"), | ||
) | ||
# ### end Alembic commands ### | ||
|
||
|
@@ -58,9 +62,10 @@ def upgrade() -> None: | |
('Hank Brown', '[email protected]', '012-345-6789', '707 Oak Street, Springfield'); | ||
""") | ||
|
||
|
||
def downgrade() -> None: | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_table('waitlist') | ||
op.drop_table('feedback') | ||
op.drop_table('customer') | ||
op.drop_table("waitlist") | ||
op.drop_table("feedback") | ||
op.drop_table("customer") | ||
# ### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
"""The state for the navbar component.""" | ||
import os | ||
|
||
import reflex as rx | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from .component_lib import get_component_link | ||
from .component_lib import get_component_link as get_component_link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from .icons import get_icon | ||
from .icons import get_icon as get_icon |
Oops, something went wrong.