|
|
@@ -20,6 +20,7 @@ def main ( |
|
|
|
create_queries () |
|
|
|
create_answers () |
|
|
|
create_users () |
|
|
|
create_query_answer_histories () |
|
|
|
|
|
|
|
|
|
|
|
def create_queries ( |
|
|
@@ -52,7 +53,7 @@ def create_users ( |
|
|
|
) -> None: |
|
|
|
with SCHEMA.create ('users') as table: |
|
|
|
table.big_increments ('id') |
|
|
|
table.integet ('platform').comment ('プラットフォーム区分') |
|
|
|
table.integer ('platform').comment ('プラットフォーム区分') |
|
|
|
table.string ('code').comment ('ユーザ・コード(プラットフォーム依存)') |
|
|
|
table.string ('name').comment ('ユーザ名(プラットフォーム内)') |
|
|
|
table.binary ('icon').nullable ().comment ('アイコン') |
|
|
|