Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Linnea Samila
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 82e29949
authored
Jul 29, 2015
by
Juho Juopperi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EventUser tokencode is UNIQUE in database.
1 parent
650fd11d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
code/moya-beans/ejbModule/fi/codecrew/moya/beans/BootstrapBean.java
code/moya-beans/ejbModule/fi/codecrew/moya/beans/BootstrapBean.java
View file @
82e2994
...
@@ -338,6 +338,9 @@ public class BootstrapBean implements BootstrapBeanLocal {
...
@@ -338,6 +338,9 @@ public class BootstrapBean implements BootstrapBeanLocal {
"ALTER TABLE event_users ADD tokencode text"
"ALTER TABLE event_users ADD tokencode text"
});
});
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE event_users ADD UNIQUE (tokencode)"
});
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment