Luna
f80bf14c23
add migration for dynamic fields
2020-06-12 16:45:32 -03:00
Luna
c497fe62a5
Fix custom_status migration being overriden due to typo
2020-06-10 15:08:04 -03:00
George Tsatsis
46468f512b
As per !61#note_314891420
2020-03-31 22:14:13 +03:00
George Tsatsis
d786edffec
Add discovery_splash
2020-03-31 01:11:57 +03:00
George Tsatsis
4ff1916ebe
Add preferred_locale field
2020-03-31 01:04:58 +03:00
George Tsatsis
92489d0f43
Add public updates channel (to server, not channel type)
2020-03-30 22:19:12 +03:00
George Tsatsis
d9940b9d3f
Make rules_channel_id a bigint
2020-03-30 21:07:17 +03:00
George Tsatsis
324cf6d4fa
Create rules channel
2020-03-30 20:57:29 +03:00
Luna
b1d1f4f228
add better docstring to update_status
...
- simplify logic to fetch game
- safer getting when making final status
2020-03-14 20:05:14 +00:00
Luna
e42aadb6d0
migration.command: dont split on migration 0
...
(it's a hack)
2020-02-04 20:50:40 +00:00
Luna
ef6361dbda
channels: update local message var when changing flags
...
- embed.messages: propagate payload.flags when updating msg embeds
- enums: fix typo
- channels: fix flag helper functions
- storage: only fill res.member when user_id is given
- storage: sentinel value is 0 instead of none for flags removal
2019-09-01 19:18:54 -03:00
Luna
63ab8ea064
add messages.flags column
2019-09-01 17:31:24 -03:00
Luna
db00724379
fix channel overwrite creation and constraints
2019-07-23 15:40:23 -03:00
Luna
0ab3f2bfa4
add 1_webhook_avatars migration
2019-04-26 03:55:53 -03:00
Luna
6ba9b07381
0_base.sql: fix ordering of table creations
...
fixes attachments table being created BEFORE its foreign keys
2019-04-04 00:30:59 -03:00
Luna
6ba5c6e25f
0_base.sql: formatting
2019-04-03 23:54:04 -03:00
Luna
e03dada1a7
migration: some fixes here and there
...
- 0_base.sql: make it rerunnable by dropping hardcoded constraints
2019-04-03 23:53:06 -03:00
Luna
02978542e7
remove all migrations, rename schema.sql to a 0_base.sql
2019-04-03 22:04:59 -03:00
Luna
dab830066b
16_messages_webhooks.sql: fix comments
...
- storage: add explanation for wb_info
2019-03-18 23:00:16 -03:00
Luna
e8c158da81
add 15_drop_nullable_webhook_avatar.sql
...
- webhooks: quickfix to webhook_check
2019-03-18 04:54:23 -03:00
Luna
448b74f91b
schemas: add GUILD_UPDATE.{banner, description}
...
- storage: add banner and description to get_guild fetch
- migration: add 14_add_guild_description.sql
2019-03-15 03:41:51 -03:00
Luna
633cd730c0
guilds: add basic vanity urls
...
- add vanity_invites table
2019-03-13 04:28:23 -03:00
Luna
4bb3cad43e
migration.scripts: add NOT NULL and DEFAULT to guilds.features
2019-03-11 02:04:07 -03:00
Luna
a04b3acfaa
storage: add guild.features in get_guild
...
- remove features and guild_features tables
2019-03-09 03:27:12 -03:00
Luna
287678331d
add voice_regions, voice_servers, and guild.region foreign key
2019-03-03 18:11:11 -03:00
Luna
e885bf859c
migration.scripts: add attachments.{channel, message}_id
...
- schema.sql: remove message_attachments table
it is uneeded since we have the columns in attachments
2018-12-08 23:21:11 -03:00
Luna
d5ad4bb96d
migration.scripts: add 10_add_attachments_table
...
- schema.sql: add attachments table
2018-12-08 22:08:37 -03:00
gabixdev
cf5ad107ad
new invite handling and unconfirmed account support
2018-12-03 21:06:47 +01:00
Luna
a0129da198
schema.sql: change roles.color default to 0
...
fixes the at-everyone role being black.
related to !6 .
- migration.scripts: add 8_roles_default_color
2018-12-02 22:48:01 -03:00
Luna Mendes
8d8be18633
storage: add rate_limit_per_user fetching
...
the rate_limit_per_user field has been on schema.CHAN_UPDATE for a while
but the database didn't have the column.
- migration.scripts: add 7_text_channels_rate_limit_per_user.sql
- schema.sql: add guild_text_channels.rate_limit_per_user
2018-11-22 22:06:19 -03:00
Luna Mendes
05c8204271
migration.scripts: add 6_emoji_require_colon_true
...
- schema: change default on guild_emoji.require_colons to true
2018-11-20 17:10:34 -03:00
Luna Mendes
93e00315df
guild, channels: add dummy implementation for search
...
- schemas: add SEARCH_CHANNEL
- migration.scripts: add 5_add_messages_guild_id
- schema.sql: add messages.guild_id
2018-11-20 04:15:03 -03:00
Luna Mendes
8b305407c2
manage.cmd: add invites blueprint
...
- schema.sql: remove temporary and expires_at columns
- migration.scripts: remove emporary and expires_at columns
2018-11-19 01:34:04 -03:00
Luna Mendes
99fab19766
migration.scripts: add 4_add_instance_invites
...
- schema.sql: add instance_invites table
2018-11-19 00:00:07 -03:00
Luna Mendes
c70dd62306
guild: add implementations for emoji add/update/remove
...
All icons will be invalidated.
- images: change icon path model
- images: handle hashes being NULL, for emojis only needing
the key
- schemas: add NEW_EMOJI, PATCH_EMOJI
- migration.scripts: add 3_drop_constraints_icons_hash
- schema.sql: drop unique and not null from hash, change primary key in
icons
2018-11-17 17:52:34 -03:00
Luna Mendes
5480a669a3
all: add guild icon support
...
- fix update_guild's methods
- fix update_guild's sql statements
- litecord: add images module
- schemas: add splash to GUILD_UPDATE
- schemas: add validate to INVITE
- manage.cmd.migration: add script 2
2018-11-13 21:12:40 -03:00
Luna Mendes
db9fd783f5
manage.cmd.migration: add rudimentary implementation
...
Also add table changes for future message embeds.
2018-11-06 20:46:17 -03:00