Db schema changed. Reinstall needed :)

pull/1/head
Victor Dubiniuk 11 years ago committed by Tobias Hintze
parent 4abcc12489
commit b4c8bc13c2

@ -56,6 +56,49 @@
</declaration> </declaration>
</table> </table>
<table>
<name>*dbprefix*office_member</name>
<declaration>
<field>
<name>member</name>
<type>integer</type>
<default>1</default>
<notnull>true</notnull>
<autoincrement>1</autoincrement>
<unsigned>true</unsigned>
<length>4</length>
<comments>Unique per user and session</comments>
</field>
<field>
<name>es_id</name>
<type>text</type>
<notnull>true</notnull>
<length>64</length>
<comments>Related editing session id</comments>
</field>
<field>
<name>displayname</name>
<type>text</type>
<default></default>
<length>64</length>
</field>
<field>
<name>color</name>
<type>text</type>
<default></default>
<length>32</length>
</field>
<field>
<name>last_activity</name>
<type>integer</type>
<default></default>
<notnull>true</notnull>
<unsigned>true</unsigned>
<length>4</length>
</field>
</declaration>
</table>
<table> <table>
<name>*dbprefix*office_op</name> <name>*dbprefix*office_op</name>
<declaration> <declaration>
@ -78,9 +121,11 @@
</field> </field>
<field> <field>
<name>member</name> <name>member</name>
<type>text</type> <type>integer</type>
<length>128</length> <default>1</default>
<notnull>true</notnull> <notnull>true</notnull>
<unsigned>true</unsigned>
<length>4</length>
<comments>User and time specific</comments> <comments>User and time specific</comments>
</field> </field>
<field> <field>

@ -1 +1 @@
1.0.3 0.5

@ -112,7 +112,7 @@ var officeMain = {
$(document.body).append('<div id="allsessions"></div>'); $(document.body).append('<div id="allsessions"></div>');
} }
$('<div><a href="">'+s.es_id+ '</a></div>').appendTo('#allsessions').click( $('<div><a href="">'+s.es_id+ '</a></div>').appendTo('#allsessions').click(
function(event){ function(event){
event.preventDefault(); event.preventDefault();
officeMain.onView(s); officeMain.onView(s);
} }
@ -142,6 +142,6 @@ $(document).ready(function() {
officeMain.registerSession($(this).attr('data-file')); officeMain.registerSession($(this).attr('data-file'));
}); });
$('#odf_close').live('click', officeMain.onClose); $('#odf_close').live('click', officeMain.onClose);
OC.addScript('office', 'dojo-amalgamation', officeMain.onStartup);
$('#session-list').click(officeMain.showSessions); $('#session-list').click(officeMain.showSessions);
OC.addScript('office', 'dojo-amalgamation', officeMain.onStartup);
}); });

Loading…
Cancel
Save