chore: finish renaming pages to communities
This commit is contained in:
parent
d6fbfc3cd6
commit
00abbc8fa2
8 changed files with 31 additions and 30 deletions
|
@ -1,5 +1,5 @@
|
|||
pub const CREATE_TABLE_USERS: &str = include_str!("./sql/create_users.sql");
|
||||
pub const CREATE_TABLE_JOURNALS: &str = include_str!("./sql/create_journals.sql");
|
||||
pub const CREATE_TABLE_COMMUNITIES: &str = include_str!("./sql/create_communities.sql");
|
||||
pub const CREATE_TABLE_POSTS: &str = include_str!("./sql/create_posts.sql");
|
||||
pub const CREATE_TABLE_MEMBERSHIPS: &str = include_str!("./sql/create_memberships.sql");
|
||||
pub const CREATE_TABLE_REACTIONS: &str = include_str!("./sql/create_reactions.sql");
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
CREATE TABLE IF NOT EXISTS journals (
|
||||
CREATE TABLE IF NOT EXISTS communities (
|
||||
id INTEGER NOT NULL PRIMARY KEY,
|
||||
created INTEGER NOT NULL,
|
||||
title TEXT NOT NULL,
|
||||
prompt TEXT NOT NULL,
|
||||
context TEXT NOT NULL,
|
||||
owner INTEGER NOT NULL,
|
||||
read_access TEXT NOT NULL,
|
||||
write_access TEXT NOT NULL,
|
Loading…
Add table
Add a link
Reference in a new issue