X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=db%2Fcore.php;h=a9632fe8d4dbb4a6bcb21b032e467d22b1392318;hb=29403a764cf172f63d7e7f39b49fdd30c92d916e;hp=626672bf5fea3e5bdc5428c3652c534ed8d013c9;hpb=b34e267e538499acc73ccf6bc22c6f4334e69757;p=quix0rs-gnu-social.git diff --git a/db/core.php b/db/core.php index 626672bf5f..a9632fe8d4 100644 --- a/db/core.php +++ b/db/core.php @@ -121,8 +121,6 @@ $schema['user'] = array( 'subscribe_policy' => array('type' => 'int', 'size' => 'tiny', 'default' => 0, 'description' => '0 = anybody can subscribe; 1 = require approval'), 'urlshorteningservice' => array('type' => 'varchar', 'length' => 50, 'default' => 'internal', 'description' => 'service to use for auto-shortening URLs'), 'inboxed' => array('type' => 'int', 'size' => 'tiny', 'default' => 0, 'description' => 'has an inbox been created for this user?'), - 'design_id' => array('type' => 'int', 'description' => 'id of a design'), - 'viewdesigns' => array('type' => 'int', 'size' => 'tiny', 'default' => 1, 'description' => 'whether to view user-provided designs'), 'private_stream' => array('type' => 'int', 'size' => 'tiny', 'default' => 0, 'description' => 'whether to limit all notices to followers only'), 'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'), @@ -139,7 +137,6 @@ $schema['user'] = array( 'foreign keys' => array( 'user_id_fkey' => array('profile', array('id' => 'id')), 'user_carrier_fkey' => array('sms_carrier', array('carrier' => 'id')), - 'user_design_id_fkey' => array('design', array('design_id' => 'id')), ), 'indexes' => array( 'user_smsemail_idx' => array('smsemail'), @@ -721,7 +718,6 @@ $schema['user_group'] = array( 'homepage_logo' => array('type' => 'varchar', 'length' => 255, 'description' => 'homepage (profile) size logo'), 'stream_logo' => array('type' => 'varchar', 'length' => 255, 'description' => 'stream-sized logo'), 'mini_logo' => array('type' => 'varchar', 'length' => 255, 'description' => 'mini logo'), - 'design_id' => array('type' => 'int', 'description' => 'id of a design'), 'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'), 'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'), @@ -735,9 +731,6 @@ $schema['user_group'] = array( 'unique keys' => array( 'user_group_uri_key' => array('uri'), ), - 'foreign keys' => array( - 'user_group_design_id_fkey' => array('design', array('design_id' => 'id')), - ), 'indexes' => array( 'user_group_nickname_idx' => array('nickname'), ), @@ -886,20 +879,6 @@ $schema['file_to_post'] = array( ), ); -$schema['design'] = array( - 'fields' => array( - 'id' => array('type' => 'serial', 'not null' => true, 'description' => 'design ID'), - 'backgroundcolor' => array('type' => 'int', 'description' => 'main background color'), - 'contentcolor' => array('type' => 'int', 'description' => 'content area background color'), - 'sidebarcolor' => array('type' => 'int', 'description' => 'sidebar background color'), - 'textcolor' => array('type' => 'int', 'description' => 'text color'), - 'linkcolor' => array('type' => 'int', 'description' => 'link color'), - 'backgroundimage' => array('type' => 'varchar', 'length' => 255, 'description' => 'background image, if any'), - 'disposition' => array('type' => 'int', 'size' => 'tiny', 'default' => 1, 'description' => 'bit 1 = hide background image, bit 2 = display background image, bit 4 = tile background image'), - ), - 'primary key' => array('id'), -); - $schema['group_block'] = array( 'fields' => array( 'group_id' => array('type' => 'int', 'not null' => true, 'description' => 'group profile is blocked from'), @@ -1110,3 +1089,5 @@ $schema['schema_version'] = array( $schema['group_join_queue'] = Group_join_queue::schemaDef(); $schema['subscription_queue'] = Subscription_queue::schemaDef(); + +$schema['oauth_token_association'] = Oauth_token_association::schemaDef();