Raphael Sofaer
9d92161430
Make migrations compatible with postgres
2011-03-02 11:05:16 -08:00
Raphael Sofaer
0cb218bba0
Delete statistic and data point models
2011-03-01 16:54:12 -08:00
Raphael Sofaer
1c1fba63e7
Refactor notification to have subclasses, just a start
2011-03-01 10:30:29 -08:00
Raphael Sofaer
809ee8a678
Started notifications refactor
2011-03-01 10:30:29 -08:00
Raphael Sofaer
a11507d30c
Take out typos for real this time
2011-02-28 16:40:03 -08:00
Raphael Sofaer
a0a901a675
fix typo
2011-02-28 16:27:47 -08:00
Raphael Sofaer
810220bc97
clear disconnected records in migration
2011-02-28 16:24:09 -08:00
Raphael Sofaer
98d8d9e0da
Add the migration
2011-02-28 15:31:12 -08:00
Raphael Sofaer
d8956a7cd5
Add foreign key constraints
2011-02-28 15:18:35 -08:00
MrZYX
edef56c84a
ruby 1.9 ftw (thanks jrichardlai)
2011-02-17 16:20:27 +01:00
Raphael Sofaer
ef9ab553bf
require the called migration within the undo migration
2011-02-17 00:35:33 -05:00
Raphael Sofaer
ff4a049d2d
It turns out that we need to rewrite validates_uniqueness_of :case_sensitive => false
2011-02-16 23:49:35 -05:00
Raphael Sofaer
cac8c586de
Forgot that emails are no longer db-unique
2011-02-12 22:44:09 -08:00
Raphael Sofaer
8fabe0f402
Checking in the migration helps.
2011-02-12 22:41:30 -08:00
Raphael Sofaer
753a113aa9
New splunk logs indicate we need more indicies
2011-02-12 21:47:55 -08:00
Raphael Sofaer
e43cd3a8da
Make error in migration more descriptive
2011-02-11 18:25:58 -08:00
Raphael Sofaer
02a66466fe
Abort migration if there are post-visibilities left, so that the db is not left with no index
2011-02-11 18:25:58 -08:00
Raphael Sofaer
31fef1a55d
typo in table name
2011-02-11 18:25:58 -08:00
Raphael Sofaer
316292c914
mysql2 result is not an array
2011-02-11 18:25:58 -08:00
Raphael Sofaer
2faf3fe10d
delete dup pvs in migration
2011-02-11 18:25:58 -08:00
Raphael Sofaer
88da878c97
Move migration to avoid conflict
2011-02-11 18:25:57 -08:00
Raphael Sofaer
ff0f37ceea
eliminate one source of dup pvs
2011-02-11 18:25:57 -08:00
zhitomirskiyi
34e2b657fd
mend
2011-02-10 19:44:25 -08:00
zhitomirskiyi
66fea22f60
mend
2011-02-10 19:24:16 -08:00
zhitomirskiyi
36d7973005
fixed the problem where notifications are not keeping track of the target id as well as making notifications for a mention be destroyed when a post is
2011-02-10 19:23:01 -08:00
zhitomirskiyi
7b1abacfe6
wip
2011-02-10 12:39:05 -08:00
Raphael Sofaer
7409cd8a27
remove extra sass rule, add db:seed
2011-02-09 16:07:25 -08:00
Raphael Sofaer
7b3a2b07ee
Removed n-query, created mentions table
2011-02-09 16:07:25 -08:00
Sarah Mei
10d96be3c3
someone forgot to check in schema.rb?
2011-02-09 14:45:31 -08:00
zhitomirskiyi
1fbcb3c3e5
added a special case for share bc js being slow
2011-02-03 16:16:45 -08:00
danielvincent
7668e8d262
fix mobile_fu/ipad issue
2011-02-03 14:11:26 -08:00
Raphael
460f25e848
run gladiac's migration, rename migration file so it finds class
2011-02-03 11:55:36 -08:00
Andreas Schneider
aa6d616d69
db: person_id can only be updated if index is updated too.
...
This fixes the following error:
Mysql2::Error: Duplicate entry '0' for key
'index_profiles_on_person_id': ALTER TABLE `profiles` CHANGE `person_id`
`person_id` int(11) NOT NULL
2011-02-02 20:37:55 +01:00
Andreas Schneider
e63b605b2a
db: Create limited varchar to be able to add index.
2011-02-02 20:37:55 +01:00
Andreas Schneider
8bdc3ec35a
db: Alter the import tables to avoid a mysql bug.
2011-02-02 20:37:55 +01:00
Andreas Schneider
2ddd810dea
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
2011-02-02 20:37:55 +01:00
Sarah Mei
1de4976915
remove histories table from schema.rb. this is why you don't edit or revert migrations >.<
2011-02-02 08:54:57 -08:00
maxwell
d4f99ca080
move search init to search.js, because mobile does not have search to init
2011-02-01 22:13:52 -08:00
zhitomirskiyi
358bf0a856
fix migration on open aspects boolean
2011-02-01 17:56:16 -08:00
zhitomirskiyi
21e3c2ae73
Merge branch 'open-aspects'
...
Conflicts:
app/controllers/aspects_controller.rb
app/controllers/home_controller.rb
app/helpers/application_helper.rb
db/migrate/20110201013408_add_open_aspects_to_user.rb
spec/controllers/aspects_controller_spec.rb
spec/controllers/home_controller_spec.rb
2011-02-01 17:32:08 -08:00
zhitomirskiyi
59f1bff046
storing it as a boolean in the aspect
2011-02-01 17:25:15 -08:00
Raphael
cfd6639f4d
Revert "Merge branch 'open-aspects'"
...
This reverts commit 181bd823c4 , reversing
changes made to 2c3ed2ab73 .
2011-02-01 13:15:20 -08:00
zhitomirskiyi
789ff679a9
persists open aspects across logins also fixed the status message controller spec broken in master
2011-01-31 18:31:41 -08:00
zhitomirskiyi
a789be737a
also making sure that the notification actor id is unique in the keep delete table
2011-01-31 11:42:49 -08:00
zhitomirskiyi
2d078a212a
remove mongo id from the notifications table
2011-01-31 11:31:59 -08:00
zhitomirskiyi
7cb23fd803
added a select for the actor id to group by it
2011-01-31 11:27:56 -08:00
zhitomirskiyi
03e8aa31f4
fixed notifications migration
2011-01-31 11:02:51 -08:00
zhitomirskiyi
17a2c9e311
moving over some code migration successful
2011-01-29 23:34:11 -08:00
zhitomirskiyi
3119fc660f
another space
2011-01-29 20:56:21 -08:00
zhitomirskiyi
2b4d27d2cf
another typo
2011-01-29 18:53:13 -08:00