diff --git a/create_db.py b/create_db.py index dc6ff3f..a82d228 100755 --- a/create_db.py +++ b/create_db.py @@ -12,7 +12,7 @@ user_role = Role('User', 'User') maintenance_setting = Setting('maintenance', 'False') fullscreen_layout_setting = Setting('fullscreen_layout', 'True') record_helper_setting = Setting('record_helper', 'True') -default_table_size_setting = Setting('default_table_size', '15') +default_table_size_setting = Setting('default_record_table_size', '15') db.session.add(admin_role) db.session.add(user_role) db.session.add(maintenance_setting) @@ -24,4 +24,4 @@ if not os.path.exists(SQLALCHEMY_MIGRATE_REPO): api.create(SQLALCHEMY_MIGRATE_REPO, 'database repository') api.version_control(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO) else: - api.version_control(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO, api.version(SQLALCHEMY_MIGRATE_REPO)) \ No newline at end of file + api.version_control(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO, api.version(SQLALCHEMY_MIGRATE_REPO))