Commit graph

443 commits

Author SHA1 Message Date
Pistos
2c89a71958 PostgreSQL compatibility for FixPhotoShareVisibilities migration. 2011-10-23 21:03:54 -04:00
danielgrippi
ea3c7ec439 fixed migration 2011-10-23 16:43:21 -07:00
danielgrippi
75da4e560d fix photo share visibilities for the recently migrated 2011-10-23 16:37:36 -07:00
Maxwell Salzberg
199d2cb7dd change of encoding in schema.rb 2011-10-23 09:10:00 -07:00
Manuel Schölling
a91932c576 Fixed Pistos' issue in downmigration 2011-10-23 15:23:39 +02:00
Manuel Schölling
d8e410f242 Fixed postgre queries as suggested by Pistos 2011-10-22 19:53:59 +02:00
Manuel Schölling
eddc3eb012 Merge branch 'master' of git://github.com/diaspora/diaspora into migration_with_tmp_post_id 2011-10-22 19:50:24 +02:00
Manuel Schölling
afe8ee9889 Fixed INSERT statement 2011-10-22 19:10:29 +02:00
Manuel Schölling
b92ee9c8d5 Store old post id for photos 2011-10-22 16:12:41 +02:00
danielgrippi
79ec50a16c DG MS; added setting for displaying spotlight members in soup stream 2011-10-21 14:44:02 -07:00
danielgrippi
794247d07b MS DG; rename soup to stream; fix a bunch of translations 2011-10-21 14:44:02 -07:00
Pistos
0ef81d7112 Added PostgreSQL-compatible versions of raw SQL migration code in ShareAnything migration. 2011-10-18 20:50:51 -04:00
Pistos
fdcd6d47ed Whitespace cleanup. 2011-10-18 20:48:49 -04:00
Ilya Zhitomirskiy
e47ccd4eff removed fake migration and migrate.txt 2011-10-18 16:25:24 -07:00
Ilya Zhitomirskiy
f7e70f8d93 lmiting the type column on share_visibilities and comments 2011-10-18 16:08:30 -07:00
Ilya Zhitomirskiy
4cae3e9d62 rolled up share_anything migration 2011-10-18 15:41:26 -07:00
Maxwell Salzberg
e4b284da7f aspect visibilities single alter table 2011-10-18 15:12:34 -07:00
Maxwell Salzberg
ed51260cf0 wip 2011-10-18 14:41:13 -07:00
Maxwell Salzberg
ce1ad0e21c rolling up the first 2011-10-18 14:18:48 -07:00
Ilya Zhitomirskiy
9b6275640d fixed the uniqueness on indecies and foreign key constrains in the down migrations 2011-10-18 12:43:24 -07:00
danielgrippi
e48e2fb56a touch up the down on the latest migration 2011-10-17 18:21:12 -07:00
danielgrippi
38d685e06e add proper index to comments 2011-10-17 18:19:02 -07:00
Pistos
724c401625 Corrected SQL syntax error in MySQL down migration (in MovePhotosToTheirOwnTable). 2011-10-17 13:21:38 -04:00
Pistos
424e736982 Correct down migration for photo migration under PostgreSQL. 2011-10-17 11:53:40 -04:00
Pistos
982e6f9b6b Added missing rollback for photo migration. 2011-10-17 10:52:03 -04:00
Pistos
f04af4c493 Added PostgreSQL-compatible version of SQL for migration (MovePhotosToTheirOwnTable). 2011-10-17 09:42:22 -04:00
Manuel Schölling
bdeae54c6c Make Photos not inherit from Posts 2011-10-16 13:58:35 +02:00
Manuel Schölling
02a3c3f88b Introduced Shareable 2011-10-16 13:58:35 +02:00
Manuel Schölling
6e325f8fd5 Introduced Commentable 2011-10-16 13:58:35 +02:00
Maxwell Salzberg
139ddd726a wip oembed refactor. still need to make a oembed_helper, and move some tests to their new home, but e but we are looking preeeetttttyyyy good. 2011-10-11 16:10:14 -07:00
Maxwell Salzberg
b334a048bf merged 2011-10-11 16:09:26 -07:00
Manuel Schölling
f3ea8f424f Added oEmbed support 2011-10-11 16:08:47 -07:00
Ilya Zhitomirskiy
0d00265392 temporarily disable redis caching during seed script 2011-10-05 10:39:24 -07:00
danielgrippi
1d818fdc23 added reshare to mobile site 2011-10-03 17:02:23 -07:00
Ilya Zhitomirskiy
5f29b77b1f fixing wrong datatype on activity streams objectId 2011-10-01 19:07:11 -07:00
Ilya Zhitomirskiy
27dcdf9a11 added an index to root_id 2011-09-30 11:35:07 -07:00
danielgrippi
b27b5dba10 commit the schema [ci skip] 2011-09-26 09:43:22 -07:00
Andreas Schneider
df86bc5799 db: Fixed the migration of the database.
The limit down to 127 is needed cause of a long time bug in mysql. The
error message looks like this when creating an index.

Mysql2::Error: Specified key was too long; max key length is 1000 bytes

So with utf8 (3 bytes for one char) you exceed this with two
varchar(255).

See http://bugs.mysql.com/bug.php?id=4541 guru meditation

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2011-09-26 13:05:00 +02:00
danielgrippi
91e649977c MS DG update copyright 2011-09-14 11:23:12 -07:00
Maxwell Salzberg
ca8a9e8025 update schema 2011-09-12 15:42:00 -07:00
Maxwell Salzberg
6b0507949c updated salmon to let us not always encrypt the header 2011-09-12 14:05:31 -07:00
Jonne Hass
fbf7c5c708 apply patch from and fix #1954 2011-09-12 16:29:39 +02:00
danielgrippi
1d0bec11f7 Add counter cache for comments on posts 2011-09-11 15:02:24 -07:00
danielgrippi
2cc261e938 add index on services for [type, uid] 2011-09-07 14:00:39 -07:00
danielgrippi
1844226077 paginate facebook friends. 2011-09-07 13:00:21 -07:00
Sarah Mei
b2b8e72ab2 Change index name in schema.rb 2011-09-03 22:27:19 -07:00
Sarah Mei
37d4a843a4 Shorten index name for everybody, including mysql & postgres users. 2011-09-03 22:05:32 -07:00
danielgrippi
4d1c93d95b Removed , but not the table. Record all in httpmulti success 2011-08-30 10:14:32 -07:00
danielgrippi
0dfcbca51b Revert "removed the pod_stats table (was the cause of bloat on the database)."
This reverts commit 902c40e42d.
2011-08-30 10:03:56 -07:00
danielgrippi
902c40e42d removed the pod_stats table (was the cause of bloat on the database). 2011-08-30 10:01:59 -07:00